Skip to content

Instantly share code, notes, and snippets.

@tmcw
Created November 14, 2013 14:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tmcw/7467249 to your computer and use it in GitHub Desktop.
Save tmcw/7467249 to your computer and use it in GitHub Desktop.
Gist from mistakes.io
// A journey inside mistakes.io
require('https://raw.github.com/tmcw/restring/master/restring.js');
require('https://raw.github.com/tmcw/incremental-eval/master/incremental-eval.js');
restring('foo');
incrementalEval('var x = 2; \n x; \n x + 2;');
incrementalEval('x', { x : 6 });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment