Home > Web Front-end > JS Tutorial > Getting started with Javascript, the first article on js basics Page 1/2_Basic knowledge

Getting started with Javascript, the first article on js basics Page 1/2_Basic knowledge

PHP中文网
Release: 2016-05-16 19:03:11
Original
813 people have browsed it

Javascript learning first article js basics

1, javascript character set:
javascript uses the Unicode character set encoding.
Why use this encoding?
The reason is simple, 16-bit Unicode encoding can represent any written language of people on earth. This is an important feature of language internationalization. (You may have seen scripts written in Chinese, such as: function My function () {} );
Each character in Javascript is represented by 2 bytes. (Because it is 16-bit encoding)


2, case sensitive:
js is a case-sensitive language.
Note: I have made mistakes before.
HTML is not case sensitive. I often see people write like this,

Related labels:
source:php.cn
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 Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template