Basic concepts of JavaScript and basic concepts of javascript
I. Case Sensitive
All variables, function names, and operators in ECMAScript are case sensitive.
For example, the variables test and Test indicate two different variables respectively,
Ii. identifier
The identifier refers to the name of a variable, func
Basic concepts of JavaScript (2) --- variables and basic concepts of javascriptVariable 1. variable definition
Use var in Javascript to define variables. The specific format is as follows:
Var name = 1;
If only the variables are declared and the variables are not initialized, the value of the variable is undefined. (Fo
If the browser does not support scripting or browser support scripts but the script is disabled, the browser will display the contents of
If the browser supports scripting, it does not display the text in the NoScript element.
A browser that does not recognize
3. Basic Concepts
Each language is similar.
Strict mode : ECMAScript introduces the concept of strict mode, to enable strict mode throughout the script, you need to add at
[JavaScript.6] Summary of phase concepts: HTML + CSS + JavaScript + xml + xpath + Json + Ajax[Preface]
Recently I learned a lot about BS new things, including many new names, concepts, and misunderstandings. Today, let's take a look at what we learned.
A conceptual summary. This article is mostly a conceptual personal
Several concepts related to javascript events: javascript events
The client javascript program adopts the asynchronous event-driven programming model.
Concepts of related events:
Event type ):String used to indicate the type of event;
Event target ):Event object;
Event
In-depth analysis of object concepts in JavaScript programming, in-depth analysis of javascript
Everything in JavaScript is an object: String, value, array, function...In addition, JavaScript allows custom objects.All things are objectsJavaScript provides multiple built-in o
Basic concepts of JavaScript (iv) --- operators and javascript OperatorsOperator 1. unary operator
The operator that can operate only one value is called The unary operator. The unary operator includes the increment (decrement) operator and the unary plus (decrement) operator.
The increment/decrease operator is divided into the increment/decrease operator and the
This article mainly introduces several confusing concepts in javascript, which are common problems. We recommend this article to you. If you need it, refer to it.
1.
var name = "The Window";var object = {name : "My Object",getName: function(){return this.name;}};
Here, the getName () method simply returns the value of this. name. The following are several methods to call object. getName ():Methods and t
Understanding of JavaScript scopes and block-level scopes, and understanding of javascript concepts
Scope is always the top priority of any programming language, because it controls the visibility and lifecycle of variables and parameters. Here, we first understand two concepts: block-level scope and function scope.
Wh
. undefined . Ecmas function parameters of Cript: Key The named parameters are only convenient, but not necessary. The parser does not validate the named parameters.the parameters in the ECMAScript are represented internally by an array. The ability to access This array of parameters through the arguments object, so that each participant can be interviewed. Changes to the values in the arguments object are self-reflective to the corresponding named parameters. However, changing the name of t
Read chapter 4th and chapter 7 of JavaScript advanced programming.
1. Basic Concepts 1. What is the execution environment? (Execution context)
The execution environment defines other data that variables or functions have the right to access and determines their respective actions.
Personal perception:
The so-called execution environment refers to a special code (such as a function) That is executed in this
This article will focus on the basic concepts in JavaScript. These concepts are quite different from those in traditional languages. Therefore, we will list a separate chapter for specific descriptions to understand the concepts of this chapter and the concepts of subsequent
Web development is more of a bother, need to master a lot of things, especially in front-end development of friends, need to pass 10 lines. Today, this article introduces beginners to some basic concepts and techniques used in web development, from A to Z a total of 26 items, each corresponding to a concept or technology.A-ajaxAJAX is all called "asynchronous JavaScript and XML" (Asynchronous
Four JavaScript concepts that Node. js developers must be familiarFour JavaScript concepts that Node. js developers must be familiar
Node. js is a server-side development framework built based on Google Chrome's V8 JavaScript Engine. Although Node. js itself is developed usi
This chapter describes the data types (Basic Types and reference types), variables (including the scope of variables), and operators (mainly common, but not operators that can be understood literally ). Because "Everything is an object" in JavaScript, after understanding these basic concepts, readers can easily understand such as scope, calling objects, and closures, currying and so on.Data TypeReaders who
This chapter focuses on data types (basic types and reference types) in JavaScript, variables (including the scope of variables), operators (primarily some of the more common but not easily understood operators). Because of the "all objects" in JavaScript, after mastering these basic concepts, readers can easily understand co
This article describes almost all basic concepts about objects, what are objects, how to create objects, how to set and read object attributes, how to delete attributes, constructors, and object prototypes, parent class, subclass, inheritance, and so on.1. Object* An object is a composite data type that groups multiple data values in a single unit and uses names to access these values. Another way to interpret an object is that an object is an unorder
Document directory
Undefined
Boolean
Number
String
Object
The core of any language will describe the most basic working principle of this language, the description usually involves the syntax, operators, data types, built-in functions of the language, and other basic concepts used to build complex solutions.Syntax
JavaScript draws on a lot of C and C languages. developers who are familiar with thes
contain the following three kinds of files:
HTML: Contains the content and structure of the page.
CSS: Controls how the page looks and behaves.
JavaScript: Controls the behavior of the page.
1, There are two very important range tags in HTML: and .They are used to divide the content into semantic (semantic) blocks.2. Class and IDIn HTML, the content is separated into these meaningful blocks. Still need to identify fragments of c
not a numeric value that can participate in the calculation. You can use the Isfinite () function if you want to determine whether a number is poor (that is, between the minimum and maximum values). The function parameter is returned true between the minimum and maximum values.NaN:Nan is a non-numeric value (not a number) is a special value that represents a case where the operand that would have returned a numeric value does not return a number (so that no error is thrown). In ECMAScript, any
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.