moonbit --target js 怎么定义属性访问?

extern "js" fn get_pi() -> Double = #| () => Math.PI
3 个赞