summaryrefslogtreecommitdiffstats
path: root/samples/call_method.js
diff options
context:
space:
mode:
Diffstat (limited to 'samples/call_method.js')
-rw-r--r--samples/call_method.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/samples/call_method.js b/samples/call_method.js
index a227562..0197723 100644
--- a/samples/call_method.js
+++ b/samples/call_method.js
@@ -1,6 +1,6 @@
/* shows how to use call() and apply()
- * essentially give a method called .bar(), instead of calling it directly with
- * use of dobule parens we append .call(instance [, arg1, arg2, ...]), where
+ * essentially given a method called .bar(), instead of calling it directly with
+ * use of double parens we append .call(instance [, arg1, arg2, ...]), where
* apply takes array of args
*/