# Pastebin ZdbPxYX6 ## Source let arr = [10,9,8,7,6,5,4,3,2,1,0]; arr.sort((a, b) => { for (let i = 0; i < arr.length; i++) arr[i] = 'hello!'; return b - a; }) print(arr); ┌────────┬──────────────────────────────────────────────────────────────────────────────┐ │ Chakra │ 10,9,8,7,6,5,4,3,2,1,0 │ ├────────┼──────────────────────────────────────────────────────────────────────────────┤ │ V8 │ hello!,hello!,hello!,hello!,hello!,hello!,hello!,hello!,hello!,hello!,hello! │ └────────┴──────────────────────────────────────────────────────────────────────────────┘