我正在研究Raphael JS库,但我看到了这个:
Animation.prototype.delay = function (delay) {
var a = new Animation(this.anim, this.ms);
a.times = this.times;
a.del = +delay || 0;
return a;
};
Run Code Online (Sandbox Code Playgroud)
延迟变量之前的+运算符是什么?
谢谢.
| 归档时间: |
|
| 查看次数: |
2972 次 |
| 最近记录: |