There are five simple data types (also known as basic data types) in ECMAScript: Undefined, Null, Boolean, number, StringECMAScript also has a complex data type--object,object essentially consists of a set of unordered name-value pairs.ECMAScript
JavaScript Overview of JavaScript history
1992 Nombas developed the embedded scripting language for C-minus-minus (c--) (originally bundled in Cenvi software). Rename it scriptease. (The language that the client executes)
Netscape
Original link: http://desheng666.blog.163.com/blog/static/4908408220121643953425/The expr command is generally used for integer values, but can also be used for strings. The General format is:Expr argument operator argumentExpr is also a manual
First, the history of JavaScriptSlightlySecond, ECMAScriptNote: ES6 means ECMAScript 6.Although ECMAScript is an important standard, it is not the only part of JavaScript, and certainly not the only one that is standardized. In fact, a complete
The typeof operator describes:TypeOf is a unary operation that can be any type before it is placed in an operand.The return value is a string that describes the type of the operand.Do you know the result of the typeof operation below?typeof
----aggregate function--do the calculations to do statistics on NULL filtering: null is the value that you don't know, so you can't do the calculation--sum (Parameters): statistics and--avg (parameter): averaging--max (parameter): Maximum value--min
1.1 SyntaxECMAScript borrowed the syntax of C and other C languages1.1.1 Case SensitiveEverything in ECMAScript (variables, functions, and operators) is case-sensitive, and the variable test and test are different variables1.1.2
JavaScript has six data types, undefined, null, number, string, Boolean, object, and the previous five are the underlying data types, also known as primitive types, which are the basic types that can no longer be subdivided. object is a complex data
To create the syntax for the number object:var myNum = new number (value);var myNum = number (value);When number () and operator new are used as constructors, it returns a newly created number object. If you do not use the new operator to call
Basic syntax, type, variable
Methods of judging Non-numeric values: (Because infinity and nan they are not equal to any value, including themselves)
1, x!= x, return True when X is Nan;
2, with isNaN (x), when x is Nan or non-numeric value,
PHP//=============================== Time Date ===============================//y returns the last two digits of the year, Y year four digits, m month number, M month English. D Month Date number, D week a few
Standard built-in objects
Constructor Object
Object Boolean String number Function Array RegExp Date Error
Other objects
Math Json Global Object1. ObjectMethods for instantiating objectsvar obj = {' name ': Mary, age:24};
First, the constructor functionNumber (value)New Number (value)Second, Number property1, Number.MAX_VALUE returns the maximum number that can be represented.2, Number.min_value can represent the smallest number.3, Number.NaN non-numeric value.4,
Chapter III: Basic ConceptsThere are 5 simple data types (also known as basic data types) in ECMAScript:Undefined\null\boolean\number\string, There is also a complex data type --object,object essentially consists of a set of unordered name-value
JavaScript Overview of JavaScript history
1992 Nombas developed the embedded scripting language for C-minus-minus (c--) (originally bundled in Cenvi software). Rename it scriptease. (The language that the client executes)
Netscape
Because there are a lot of tutorials on the web, it's easy to get in touch with other programming languages, I don't write much here. Next I'll just write about some of the things I think are prone to problems in the learning process.I.
JavaScript Overview of JavaScript history
1992 Nombas developed the embedded scripting language for C-minus-minus (c--), which was originally bound to Cenvi software, and renamed it Scriptease (the language that the client executes).
There are 5 data types in javascript: undefined, null, Boolean, number, String, and typeof to detect the data type.1 undefined:undefined There is only one value, that is Undefined, when declaring a variable with VAR but not initializing it, this
Parsefloat () functionYou can parse a string and return a floating-point number. The opening and closing spaces are allowed.Whether the first character in the string is a number, if it is, the string is parsed until the end of the number is reached,
Suitable for students to ask some C language topics, this would like to search the Internet, but online methods are divided into the upper and lower parts with two nested for loop output. I think there is no combination of output, so that in line
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.