From e0d5458016f9f1336f0c9b7e4ef53302dfc44215 Mon Sep 17 00:00:00 2001 From: davidnolen Date: Mon, 22 Jan 2024 15:10:02 -0500 Subject: [PATCH] * switch to isSafeInteger --- src/main/cljs/cljs/core.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/cljs/cljs/core.cljs b/src/main/cljs/cljs/core.cljs index 3dde23d95..0afb3d475 100644 --- a/src/main/cljs/cljs/core.cljs +++ b/src/main/cljs/cljs/core.cljs @@ -1031,7 +1031,7 @@ (number? o) (if ^boolean (js/isFinite o) - (if-not ^boolean (.isInteger js/Number o) + (if-not ^boolean (.isSafeInteger js/Number o) (hash-double o) (js-mod (Math/floor o) 2147483647)) (case o