You are viewing a single comment's thread. Return to all comments →
Not as simple as yours, but how about this?
console.log(require('fs').readFileSync('/dev/stdin', 'utf8').split('\n')[1].split(' ').reverse().join(' '));
Seems like cookies are disabled on this browser, please enable them to open this website
Arrays - DS
You are viewing a single comment's thread. Return to all comments →
Not as simple as yours, but how about this?