Created
March 28, 2014 17:33
-
-
Save tmcw/9838296 to your computer and use it in GitHub Desktop.
Gist from mistakes.io
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Hi! | |
(function() { return 'hi'; })(); | |
// This is a sketchpad for Javascript | |
// ---------------------------------- | |
// * 2 spaces are default so that stuff fits | |
// on projectors. | |
// * some things might be weird, don't be afraid | |
// * console.whatever doesn't do anything | |
// * stuff on the right goes | |
// through JSON.stringify | |
// * it can load gists: for instance, this text is | |
// https://gist.github.com/4679533 and is being | |
// loaded because your page has #4679533 | |
// at the end. Do the same - create a new gist | |
// and use its id at the end! | |
// * Hit Cmd+S to save as a Gist. | |
// * you can require() javascript files - check out | |
// http://macwright.org/mistakes/#5051892 | |
// help out with code or bug reports! | |
// https://github.com/tmcw/mistakes | |
// Let's get down to brass tacks: | |
// type a thing on the left, and the value | |
// of it will be displayed on the right: | |
42; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment