var a=1for (var i=1;i<99;i++){a++document.write(a+"
")} with the following code Difference
What is the difference between document.write() before and after executing code a++?
Black
Black 2020-04-30 15:35:16
0
1
1428

与下列代码的区别

Black
Black

reply all (1)
DY。

The former prints out starting from 2

The latter prints out starting from 1

a is equivalent to a =a 1

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!