Home  >  Article  >  Web Front-end  >  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中文网
PHP中文网Original
2016-05-16 19:03:11773browse

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,

Statement:
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