Skip to content

Instantly share code, notes, and snippets.

@Ventero
Created May 10, 2012 21:19
Show Gist options
  • Save Ventero/2655965 to your computer and use it in GitHub Desktop.
Save Ventero/2655965 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name Timeout additional parameter test
// @namespace ventero.de
// @include *
// @version 1
// ==/UserScript==
setTimeout(function(a, b){alert(a.foo + "//" + typeof b)}, 0, {foo:1}, {});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment