Skip to content

Instantly share code, notes, and snippets.

@Reinmar
Created November 4, 2011 12:44
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 Reinmar/1339239 to your computer and use it in GitHub Desktop.
Save Reinmar/1339239 to your computer and use it in GitHub Desktop.
Laziness
(function self(opts) {
var SLIDE_WIDTH = 180;
console.log(opts);
// ble ble ble...
if (arguments.length > 1) {
self.apply(null, [].slice.call(arguments, 1));
}
}(
{ el: 1, num: 1 },
{ el: 2, num: 4 }
));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment