Skip to content

Instantly share code, notes, and snippets.

@grekko
Created September 2, 2016 19:29
Show Gist options
  • Save grekko/543191d5845dd1709e0f9b265c5c5521 to your computer and use it in GitHub Desktop.
Save grekko/543191d5845dd1709e0f9b265c5c5521 to your computer and use it in GitHub Desktop.
Medium: NodeList to Array
Array.prototype.slice.call(headlines).constructor
// => function Array() { [native code] }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment