const num = [4, 1, 63, 8, 5, 100, 9, 75];
console.log('Before');
console.log(num);
console.log(`\n----------------------------------------------\n`);
const sort2 = num.sort();
console.log(`returns element: ${sort2}`);
console.log('\nAfter');
console.log(num);
This Pen doesn't use any external CSS resources.