Skip to content

Instantly share code, notes, and snippets.

@romamaslennikov
Created July 17, 2016 16:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save romamaslennikov/67d8d7e072f1e0689735d0869890beaf to your computer and use it in GitHub Desktop.
Save romamaslennikov/67d8d7e072f1e0689735d0869890beaf to your computer and use it in GitHub Desktop.
function f() {
g.apply(this, arguments);
}
function g(a) {
arguments.sort = [].sort;
arguments.join = [].join;
console.log(arguments.join(" ; "));
}
f(1.2,5,6,7,8,0,2,'0');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment