Skip to content

Instantly share code, notes, and snippets.

@zythum
Last active January 3, 2016 13:39
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 zythum/8471205 to your computer and use it in GitHub Desktop.
Save zythum/8471205 to your computer and use it in GitHub Desktop.
function where_is_my_func () {
return 'I am here'
}
function sun (a, b) {
var where_is_my_func = 'your are not here'
b = [].slice.call(arguments, 1)
return !b.length ? a : arguments.callee.apply(this, [b, b[0] += a][0])
}
sun(1, 2, 3, 4, 5, 6, 7, 8, 9)
console.log(where_is_my_func)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment