Home  >  Article  >  Web Front-end  >  How to define variables in Javascript?

How to define variables in Javascript?

黄舟
黄舟Original
2017-08-09 11:03:001895browse

JavaScript is worth learning and relatively easy to learn. As a web developer, JavaScript is an indispensable tool. How to define variables in Javascript?


1. The first step is to create a new html file, directly quote javascript in the html, and define variables.

How to define variables in Javascript?


#2. Step 2. Use < Insert javascript into the ;script> tag,