We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4879df1 commit 650fe98Copy full SHA for 650fe98
1 file changed
src/main/cljs/cljs/core.cljs
@@ -12308,7 +12308,7 @@ reduces them without incurring seq initialization"
12308
(-nth [coll n]
12309
(if (and (<= 0 n) (< n (alength array)))
12310
(aget array n)
12311
- #_(throw (js/Error. (str "No item " n " in vector of length " (alength array))))))
+ (throw (js/Error. (str "No item " n " in vector of length " (alength array))))))
12312
(-nth [coll n not-found]
12313
12314
@@ -12317,7 +12317,7 @@ reduces them without incurring seq initialization"
12317
ILookup
12318
(-lookup [coll k]
12319
(when (number? k)
12320
- (-nth coll k nil)))
+ (-nth coll k)))
12321
(-lookup [coll k not-found]
12322
(if (number? k)
12323
(-nth coll k not-found)
0 commit comments