Permalink
Browse files

Don't unnecessarily slice the arguments.

  • Loading branch information...
1 parent a405160 commit d73deacc3d22a755da42e378c66641b78c4b780f @domenic domenic committed Jan 7, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 setImmediate.js
View
@@ -4,7 +4,7 @@
var tasks = (function () {
function Task(handler, args) {
this.handler = handler;
- this.args = Array.prototype.slice.call(args);
+ this.args = args;
}
Task.prototype.run = function () {
// See steps in section 5 of the spec.

0 comments on commit d73deac

Please sign in to comment.