{"size": 336, "ext": "js", "max_stars_repo_path": "Contributions/SortingJavascript/short.js", "max_stars_repo_name": "OluSure/Hacktoberfest2021-1", "max_stars_repo_stars_event_min_datetime": "2021-10-01T08:18:16.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-29T04:12:03.000Z", "max_issues_repo_path": "Contributions/SortingJavascript/short.js", "max_issues_repo_name": "OluSure/Hacktoberfest2021-1", "max_issues_repo_issues_event_min_datetime": "2021-10-01T08:16:42.000Z", "max_issues_repo_issues_event_max_datetime": "2021-10-31T13:51:51.000Z", "max_forks_repo_path": "Contributions/SortingJavascript/short.js", "max_forks_repo_name": "OluSure/Hacktoberfest2021-1", "max_forks_repo_forks_event_min_datetime": "2021-10-01T08:11:45.000Z", "max_forks_repo_forks_event_max_datetime": "2021-11-21T18:57:09.000Z"}
{"max_stars_count": 215, "max_issues_count": 51, "max_forks_count": 807, "avg_line_length": 18.6666666667, "max_line_length": 48, "alphanum_fraction": 0.4910714286}
const bubbleShort = (arr) => {
	for (let i = 0; i < arr.length; i++) {
		for (let j = 0; j < arr.length - i - 1; j++) {
			if (arr[j] > arr[j + 1]) {
				let leftNumber = arr[j];
				arr[j] = arr[j + 1];
				arr[j + 1] = leftNumber;
			}
		}
	}

	return arr;
};

let arr = [2, 45, 67, 23, 44, 5434, 65];

console.log(bubbleShort(arr));
