Skip to content

Instantly share code, notes, and snippets.

@fearphage
Created May 5, 2010 15:50
Show Gist options
  • Select an option

  • Save fearphage/390982 to your computer and use it in GitHub Desktop.

Select an option

Save fearphage/390982 to your computer and use it in GitHub Desktop.
ARRAY_PROTOTYPE_SLICE_CAN_CONVERT_NODELIST_TO_ARRAY = (function (){
try {
return (Array.prototype.slice.call(document.forms, 0) instanceof Array);
}
catch(e) {
return false;
}
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment