Clojure cljs中将string转为int的方式是
1 |
js/parseInt |
在cljs中无法使用Integer/parseInt 方法, Integer/parseInt会掉到java函数中,在cljs中无法使用
Clojure cljs中将string转为int的方式是
1 |
js/parseInt |
在cljs中无法使用Integer/parseInt 方法, Integer/parseInt会掉到java函数中,在cljs中无法使用