console.log(['j','s','b','i','n'].sort());
var sortRestArgs = function(){
return [].slice.call(arguments).sort();
};
console.log(sortRestArgs('j','s','b','i','n'));
l'opérateur ...
let sortRestArgs = (...theArgs) => theArgs.sort();
console.log(sortRestArgs('j','s','b','i','n'));