diff core-javascript/tutorial.js @ 110:f015a6838eb7 core-javascript

Add what-is-this.rst (and include from tutorial.js).
author jf3243
date Wed, 26 Oct 2011 16:12:24 +0100
parents fe40997c9d46
children 73859bf6d639
line wrap: on
line diff
--- a/core-javascript/tutorial.js	Wed Oct 26 15:11:54 2011 +0100
+++ b/core-javascript/tutorial.js	Wed Oct 26 16:12:24 2011 +0100
@@ -17,7 +17,7 @@
 NaN != NaN || ddt;
 
 
-
+// start return_this
 TEST('return_this', function()
 {
     var return_this = function(){
@@ -38,6 +38,7 @@
     assert( return_this.apply(obj) === obj );
 
 });
+// end return_this
 
 
 TEST('millers_device', function()