alert("Hello JavaScript");
自律者自由
自律者自由 2017-10-25 11:45:15
0
3
1614

The same function can be achieved without alert("Hello JavaScript");. Why must this code be added?

自律者自由
自律者自由

reply all(3)
有人@我

It is only used for debugging the code. You can also use console.log. Alert also has a function, which is to give prompt information to website users when they click certain buttons or information, so that users know where the operation is wrong. However, Nowadays, everyone uses layer pop-ups

nearest

Is to test whether your js is executed normally

路过

This is debugging information, delete it if you are sure the program is useless

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template