ClojureScript Method Call and Property Access Syntax Aug 17th, 2012 | Comments ClojureScript 呼叫物件 method 和存取物件 property 語法 ClojureScript 呼叫物件method和存取物件property的語法有點特別,做個紀錄備忘一下。 Calling a method 1 (. js-object method) 1 (. js-object method args) or 1 (.method js-object) 1 (.method js-object args) Accessing a property 1 (. js-object -property) or 1 (.-property js-object) 比較需要記住的是 property 名字前面需要加一個 - 號。