Skip to content

Instantly share code, notes, and snippets.

@lkptrzk
Created March 13, 2014 19:50
Show Gist options
  • Save lkptrzk/9535575 to your computer and use it in GitHub Desktop.
Save lkptrzk/9535575 to your computer and use it in GitHub Desktop.
requirebin sketch
console.log('logging:')
console.log(asdf)
console.log(foo)
function asdf () {
// noop
}
var foo = function () {
// asdf
}
console.log(asdf)
console.log(foo)
function asdf(){}undefinedconsole.log("logging:"),console.log(asdf),console.log(foo),console.log(baz),console.log(justin1);var foo=function(){},baz=function baz(){},justin1=function(){};console.log("logging after definitions:"),console.log(asdf),console.log(foo),console.log(baz),console.log(justin1),justin1();
{
"name": "requirebin-sketch",
"version": "1.0.0",
"dependencies": {
"q": "1.0.1"
}
}
<style type='text/css'>html, body { margin: 0; padding: 0; border: 0; }
body, html { height: 100%; width: 100%; }</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment