1.JSON:JavaScript Object notation(js objects notation)To represent structured data as The standard format for JavaScript objects, typically used to represent and transfer data on a Web site (some data is sent from the server to the client, so it can
ES5, ECMAScript 5.1, adds a lot of new features on top of the JavaScript language to enhance and standardize existing objects and statements, including some new functions, object type enhancements, and strict schema programming specifications.Today
Tag: Test OBA blank agent shows Orange log meets ObjectThe JSON data is displayed in an aesthetically indented format, thanks to the simplest json.stringify function, since this function also has the following 2 parameters that are not commonly used.
Deferred and PromiseES6 and JQuery have deffered and Promise, but they are slightly different. But their role can be easily described in two words.
Deffered Trigger Resolve or Reject
What to do after resolve or reject is declared in
Summary of JavaScript objects, javascript objects
Summary of Javascript objects:
JavaScript objects can be seen as unordered sets of attributes. Each attribute is a key-Value Pair and can be added or deleted.
All things in JavaScript are objects:
Json.parse with Eval and the ability to parse a string into a JSON object, but it still makes a big difference.Test codevar A = "{ a:1, B: ' Hello '}"; var b = "{ ' a ': 1, ' B ': ' Hello '}"; var C = "{' A ': 1, ' B ': ' Hello '}"; var D = ' {' A
Json.parse with Eval and the ability to parse a string into a JSON object, but it still makes a big difference.Test codevar A = "{ a:1, B: ' Hello '}"; var b = "{ ' a ': 1, ' B ': ' Hello '}"; var C = "{' A ': 1, ' B ': ' Hello '}"; var D = ' {"A":
Basic JavaScript method of deep copy (shallow copy and deep copy), javascript depth
Preface
When it comes to deep copy, we must first mention the JavaScript data type. In the previous article, the basic JavaScript method-the data type is very clear,
Forgive me for doing it once title party, Ajax will not die, traditional Ajax refers to XMLHttpRequest (XHR), the future is now replaced by the Fetch.Recently, Ali a TENS PV data products all moved by the JQuery $.ajax , the Fetch online one months
PrefaceIn JavaScript, scopes, contexts, closures, and functions are the essence. For Junior JSer, it is an advanced necessity. For front-end captors, they can write elegant code only by keeping calm and understanding the essence.
This article aims
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.