This project is archived and is in readonly mode.

#222 ✓resolved
liquid1982

docs: typo in Function:run

Reported by liquid1982 | July 14th, 2008 @ 02:03 PM | in 1.2.1

Tiny typo in Function:run docs.

var myFn = function(a, b, c){
    return a + b + c;
}
var myArgs = [1,2,3];
myFn.run(args); //Returns: 6  ==> should be myFn.run(myArgs);

and

var myFn = function(a, b, c) {
    return a + b + c + this;
}
var myArgs = [1,2,3];
myFn.run(args, 6); //Returns: 12  ==> should be myFn.run(myArgs, 6);

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

People watching this ticket

Tags

Pages