From d930ec90942337afeb1da598e93d9cc298d7be5a Mon Sep 17 00:00:00 2001 From: Paul Macek Date: Sun, 16 Mar 2014 15:53:51 -0500 Subject: [PATCH] Update API example in README --- README.md | 2 +- foo.js | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 foo.js diff --git a/README.md b/README.md index b30a257..c06d881 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ Given a basic HTML form - + ``` diff --git a/foo.js b/foo.js new file mode 100644 index 0000000..65a58ad --- /dev/null +++ b/foo.js @@ -0,0 +1,9 @@ + +foo: +for (var i=0; i<10; i++) { + for (var j=0; j<10; j++) { + break foo; + } +} + +console.log(i,j); \ No newline at end of file