如何在 Clojurescript 中的 Date 对象上调用 .toDateString()

How to invoke .toDateString() on Date object in Clojurescript

我正在尝试获取 Clojurescript 中的 DateString:new Date(1420971497471).toDateString();

我遇到了麻烦,因为 (js/Date 1420971497471) returns 是一个字符串,所以我无法调用 .toDateString()

这是我的 Clojurescript 代码:

(.toDateString (js/Date 1420971497471)) 
// Uncaught TypeError: undefined is not a function
(.toDateString (js/Date. 1420971497471))