请问下面的赋值是什么意思?
var self = this, textDropZone;
我会理解,如果我们只给 var self
赋一个值; this
或 textDropZone
。但是,如果在同一行中分配两个值,这意味着什么?这是否意味着它们已添加?
如果你能给我提供一些引用,那也会有帮助。谢谢。
最佳答案
相当于:
var self = this;
var textDropZone;
关于JavaScript - : var self = this, textDropZone 的含义;,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12359430/