0
最初はバグだと思っていましたが、ソースコードを見れば明らかに意図的です。誰がなぜこれが行われているのか知っていますか?それはClojureとバグの微妙な原因とは矛盾しています。ClojureScriptはintとしてハッシュされています
(hash 1) ; => 1
(hash 1.5) ; => 1
https://github.com/clojure/clojurescript/blob/master/src/main/cljs/cljs/core.cljs#L985
(defn hash
"Returns the hash code of its argument. Note this is the hash code
consistent with =."
[o]
(cond
(implements? IHash o)
(bit-xor (-hash ^not-native o) 0)
(number? o)
(if (js/isFinite o)
(js-mod (Math/floor o) 2147483647)
(case o
Infinity
2146435072
-Infinity
-1048576
2146959360))
...))