Introduction to new features of ECMAScript 2021(ES12)

brief introduction ES12 is a version issued by ECMA Association in June 2021. Because it is the twelfth version of ECMAScript, it is also called ES12 It has been a month since ES12 was released. What are the new features and differences of ES12? Let's have a look. Basically, ES12 introduces theUTF-8...

Posted by golfinggod on Wed, 22 Sep 2021 10:34:01 +0530

ES6 deconstruction, object + object API expansion, array + array API expansion

1-ES6 deconstruction: ES6 allows you to extract values from arrays and objects and assign values to variables according to a certain pattern, which is called deconstruction. The essence of deconstruction belongs to "pattern matching". As long as the patterns on both sides of the equal sign are UTF-8...

Posted by Karpathos on Mon, 27 Sep 2021 16:09:37 +0530

Front End Learning Miscellaneous Notes

Large Front End Interpretation 1. Node.js Node.js is JavaScript running on the server sideNode.js is a time-driven I/O server JavaScript environment. Based on Google's V8 engine, the V8 engine executes JavaScript very quickly and performs very well. Quick Start for Node.js The browser's core coUTF-8...

Posted by BigBadKev on Wed, 06 Oct 2021 23:04:31 +0530

day4 focus: solutions to asynchronous programming

day4 Solution to asynchronous programming Callback function (callback hell) Generator (generator function) Promise (promise object) aync is the easiest solution to asynchronous programming 1.Generator function (solution of asynchronous programming) Formally, the Generator function is an ordinarUTF-8...

Posted by Dtonlinegames on Thu, 07 Oct 2021 22:50:36 +0530

ES6 -- creation, addition and inheritance of classes

catalogue 1, Create classes and objects 2, Class 3, Class inheritance super() method 4, Subclasses inherit the methods of the parent class and extend their own methods 5, super keyword calls a normal function of the parent class 6, Precautions for using classes Summary of precautions for using UTF-8...

Posted by LennyG on Sun, 10 Oct 2021 08:33:55 +0530

es6 class syntax (syntax sugar for implementing inheritance)

What is a class? In easy to understand words, mobile phone is a class, and your mobile phone is the object of this class; Computer is a class, and your computer is the object of this class. In other words, a class is a kind, and an object is a specific individual in the class. Class is equivalUTF-8...

Posted by miltonos on Tue, 12 Oct 2021 05:41:49 +0530

In depth study of ES6

In depth study of ES6 What is ES6? What is ES2015? What is their relationship? ES2015 is the abbreviation of ECMAScript 2015 and ECMA is the abbreviation of European Computer Manufacturers Association. ECMAScript represents the specification followed by JavaScript. After ECMAScript version 5.1 UTF-8...

Posted by Seaholme on Mon, 18 Oct 2021 08:13:23 +0530

You can use ES6, that's true!

JS syntax after ES5 is collectively referred to as ES6!!! 1. Make complaints about value. Values are very common in programs, such as values from object obj. const obj = { a:1, b:2, c:3, d:4, e:5, } Make complaints: const a = obj.a; const b = obj.b; const c = obj.c; const d = obj.d; const e = oUTF-8...

Posted by apervizi on Tue, 19 Oct 2021 04:31:33 +0530

How to handle form get requests in Node

preface For the request path of this form submission, it is impossible for you to process the request by judging the complete url path due to the content dynamically filled in by the user. Conclusion: for us, we only need to judge. If your request path is / pinglun, I think your request to submUTF-8...

Posted by kenslate on Wed, 20 Oct 2021 23:12:03 +0530

Variable scope and function

catalog: Scope Scope classificationLHS&RHSClaim promotionVariable promotion function Function definitionFunction nameFunction parametersFunction promotion Scope: As we all know, js scope is divided into two categories: global scope and local (function) scope. Global scope: the variable defined UTF-8...

Posted by digitalbart2k on Thu, 21 Oct 2021 05:01:48 +0530