Skip to content

Commit

Permalink
Don't unnecessarily slice the arguments.
Browse files Browse the repository at this point in the history
  • Loading branch information
domenic committed Jan 7, 2013
1 parent a405160 commit d73deac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setImmediate.js
Expand Up @@ -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.
Expand Down

0 comments on commit d73deac

Please sign in to comment.