Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在 ClojureScript 中创建新图像?
我想要相当于 new Image(); 在 JavaScript 中
我试过了(新图片)(图片。)
我错过了什么?
您需要Image使用js“魔术命名空间”来限定:
Image
js
(js/Image.)