Skip to content
Ho-Yang Tsai edited this page Sep 25, 2015 · 15 revisions

第二章

for 迴圈

__ Page 17 __

i = i + 1

i += 1

JSLint提示你這麼做;原因是他對 ++ 和 -- 提示「過度使用伎倆」(excessive trickiness)。如果你不同意這點,你可以將JSLint的設定值plusplus設為false(預設為true)。

__ Page 17 __

Clone this wiki locally