diff core-javascript/javascript-exercises/help.js @ 166:3ddb57628be1 javascript-exercises

Make as start on the intereractive exercise environment.
author jf3243
date Thu, 10 Nov 2011 11:43:31 +0000
parents
children 9db9db9eb9bc
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/core-javascript/javascript-exercises/help.js	Thu Nov 10 11:43:31 2011 +0000
@@ -0,0 +1,8 @@
+help = [
+    "'exit': quit the interpreter.",
+    "",
+    "Type 'help' at the 'js>' prompt to get this  message."
+].join('\n') + ' \n';
+
+
+writeln(help);