We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 402d47e commit 331fea6Copy full SHA for 331fea6
src/main/cljs/cljs/core.cljs
@@ -1971,7 +1971,7 @@ reduces them without incurring seq initialization"
1971
"assoc[iate]. When applied to a map, returns a new map of the
1972
same (hashed/sorted) type, that contains the mapping of key(s) to
1973
val(s). When applied to a vector, returns a new vector that
1974
- contains val at index."
+ contains val at index. Note - index must be <= (count vector)."
1975
([coll k v]
1976
(if-not (nil? coll)
1977
(-assoc coll k v)
0 commit comments