Home > Web Front-end > JS Tutorial > Javascript Basics Tutorial - JavaScript Syntax_Basic Knowledge

Javascript Basics Tutorial - JavaScript Syntax_Basic Knowledge

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-05-16 16:19:50
Original
1018 people have browsed it

1. Case sensitive

In JavaScript, variables, functions, and operators are case-sensitive.

2. Weak type variables

Only use the "var" keyword to define variables

Copy code The code is as follows:

var age = 25;
var myscholl = "sanxiao";
var mal = true;

3. The semicolon at the end of each line is optional .

4. Brackets are used for code blocks .

Code Example

Copy code The code is as follows:











That’s it for the first article, we will introduce it in detail later

Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
What are JavaScript hook functions?
From 1970-01-01 08:00:00
0
0
0
What is JavaScript garbage collection?
From 1970-01-01 08:00:00
0
0
0
c++ calls javascript
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template