[英]What is the ClojureScript analogue of typeof … undefined from JavaScript?
[英]What is the ClojureScript analogue of delete from JavaScript?
我正在使用該模式看到很多代碼:
delete b[d];
現在,我將其翻譯為:
(aset b d nil)
那合適嗎?還是我丟失了一些關鍵數據?
我的問題是:**從JavaScript中delete
的ClojureScript類似什么? **
根據http://cljs.info/cheatsheet/,它是js-delete
(js-delete b d)
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.