dep.js (orelse): Fix typo in the documentation comment.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 30 Jun 2018 21:53:44 +0000 (22:53 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 30 Jun 2018 21:53:44 +0000 (22:53 +0100)
dep.js

diff --git a/dep.js b/dep.js
index 50a4fed..f9a9a18 100644 (file)
--- a/dep.js
+++ b/dep.js
@@ -444,7 +444,7 @@ Dep.prototype = {
 
 function orelse(thunk, errthunk) {
   /* Call THUNK.  If it succeeds, then return its result.  If THUNK
-   * reads a bad dep then call ERRTHINK and return its result instead.
+   * reads a bad dep then call ERRTHUNK and return its result instead.
    */
 
   var e;