Initial Research on JS (1) and variable types, operators, common functions and conversions

Source: Internet
Author: User
Tags floor function

As a name. NET background developers are taking the test to transform to Web Front-end development. They have also written a generation of front-end code before. However, when looking back at JS and turning to it, they suddenly find that: originally, JS is not that simple. I have not noticed many details before. Now I want to record the learning knowledge points as study notes, so I can take a look at them from time to time. If there are any errors, please read the official comments and correct them. JavaScript is a lightweight scripting language for Web programming. It is often referred to as JavaScript. It is widely used in PCs and various mobile devices. It is often used together with HTML and CSS to form webpage pages. It is also often associated with some people and Java, but in essence they are completely two different programming languages (when I met this problem, I believe someone actually thinks so ). JavaScript execution requires an interpreter ("engine") as part of the browser. This chapter includes: 1. JS reference and comment; 2. Variables and data types 3. Operators and expressions 4. Common Function objects 5. type conversion before writing: debugging is an important task of writing a program. In this series, all debugging is performed using the Chrome browser. The operation is as follows: Open the browser, press "F12", go to the "Control" tab, and enter the code in the input column. For JS Code debugging on the HTML page, go to the "Source" tab and place the breakpoint where necessary. 1. JavaScript references and comments 1.1 References 1) Written In The

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.