2 ms·
(function() { var x; x = 5; return ++x; }).call(this); This won't loop but just return 6.
by mrpixel 16y ago
(function() { var x;
x = 5;
return ++x;
}).call(this);
This won't loop but just return 6.
- evanrmurphy 16y agodo is intended to be like do in Arc or Clojure or progn in Common Lisp. It is not supposed to be a loop. Does this clarify or have I misunderstood your comment?
- mrpixel 16y agoAh, O.K. Mea culpa! :)