Js.coerce_opt (Dom_html.document##getElementById id)
我是 OCaml 的新手,最近正在处理 Js_of_Ocaml。我见过上面的代码,其中在变量和函数之间包含两磅。他们的意思是什么?
ocaml js-of-ocaml
js-of-ocaml ×1
ocaml ×1