make lint

This commit is contained in:
Ulises M 2025-01-22 17:00:58 -06:00
parent 66efa1ef36
commit 968d64cb2a
No known key found for this signature in database
GPG Key ID: 5A15782EB758534E

View File

@ -65,7 +65,8 @@
(when-not (= json "undefined")
(try (.parse js/JSON json) (catch js/Error _ (when (string? json) json)))))
(defn map-array [f coll]
(defn map-array
[f coll]
(let [js-array ^js (array)]
(doseq [e coll]
(.push js-array (f e)))