Contents

[javascript]if(-1) 結果

Contents

遇到一個雷…,記錄一下

1
2
3
4
var a = -1;
if(a){
echo 'hello world';
}

denysdovhan/wtfjs: A list of funny and tricky JavaScript examples
wtf.js