-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Description
Nice tool, but:
Don't forget that the function in setTimeout and setInterval can recive aditional arguments.
Example:
var additionalVar1 = 11, additionalVar2 = 22;
setTimeout( function( a, b){ .... }, 1000, additionalVar1, additionalVar2);
// inside function "a" and "b" will be 11 and 22.
Is not common, but in some cases it is very usefull.
best regards
Metadata
Metadata
Assignees
Labels
No labels