Hen*_*Zhu 3 javascript clojure clojurescript om reagent
我正在尝试在Clojurescript中获取DateString: new Date(1420971497471).toDateString();
我遇到麻烦因为(js/Date 1420971497471)返回一个字符串,所以我无法打电话.toDateString().
这是我的Clojurescript代码:
(.toDateString (js/Date 1420971497471))
// Uncaught TypeError: undefined is not a function
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
1332 次 |
| 最近记录: |