This article is not a reference manual article, only suitable for JS to produce a general understanding, such as the need for the detailed syntax and application of JS, please go to W3school
What is JavaScript?
The birth of JavaScript
Around 1995,
Js to obtain the screen width and height (browser compatibility), you can refer to the effective width and height of the screen:
Window. screen. availHeightWindow. screen. availWidth
Visible area width of the webpage: document. body.
JavaScript is an object-based scripting language, and its input and output is done through objects. Where the input can be done through a Window object, and the output can be achieved by means of a Document object.
One, window and input and output
the 1.Window object is the primary access point for all client JavaScript features and APIs. An important property in the Window object is document, which references the Document object.A JavaScript program can traverse and manage documents through
Personal Summary:1. Memory recovery mechanism-tag clear algorithm: Starting from the root (global variable) to detect descendant variables, any root variables can not reach the variable will be marked as memory garbage.This is the third chapter of
Popular JavaScript libraries, such as jquery, mootools, prototype, dojo, and Yui, help you complete common JavaScript tasks. These JS libraries provide many ready-made functions for client actions (events), animation effects (effects), and Ajax
The mobile web page is affected by the network speed and terminal performance of the mobile network. We often need to pay attention to the first screen content display time (hereinafter referred to as the first screen time, it measures whether our
javascript| Tutorial
javascript windows and input and output
JavaScript is an object-based scripting language, and its input and output is done through objects. Where the input can be done through a Window object, and the output can be achieved by
ArticleDirectory
1. Form
2. Animation
3. Visual and image effects
4. Database
5. String and mathematical functions
6. Font
7. debugging and recording
8. Others
PopularJavascript LibrarySuch as jquery, mootools,
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.