ES6 let, const keyword
ES6 let, const keyword
let keyword, newly added in ES6.
// let can be used to declare variables
let x;
let x,y,z,i;
// let can directly declare and assign initial values
let a=1;
let q=123,w='123',e=[];
// Note:
// 1.let variables cannot be declared repeatedly
// (preven ...
Added by cdennste on Sat, 01 Jan 2022 14:16:43 +0200
Several ways to implement JavaScript sandbox
preface
Sandbox, as the name suggests, is to let your program run in an isolated environment without affecting other programs outside. By creating an independent working environment similar to sandbox, the programs running inside can not have a permanent impact on the hard disk.
Usage scenario of sandbox in JS
Jsonp: when parsing the jsonp r ...
Added by ReDucTor on Sat, 01 Jan 2022 13:43:22 +0200
"Invincible" 13 Vue modifiers that interviewers like to ask
prefaceHello, I'm Lin Sanxin. As we all know, modifiers are also one of the important components of Vue. Making good use of modifiers can greatly improve the efficiency of development. Next, let's introduce the 13 Vue modifiers that interviewers like to ask1.lazyThe lazy modifier is used to change the value of the input box without changing the ...
Added by knelson on Sat, 01 Jan 2022 07:45:32 +0200
Mid Autumn Festival! Do you remember Chang'e in journey to the west? I used 10000 pictures to spell the childhood goddess!
prefaceHello, I'm Lin Sanxin. The Mid Autumn Festival is coming. I wish you a Happy Mid Autumn Festival!!! I was thinking, what can I write to share with you about the Mid Autumn Festival? On this day, I was watching journey to the West and suddenly thought of my childhood goddess. Who is it? It is the Chang'e fairy pursued by Marshal Tianpeng. ...
Added by r4ck4 on Sat, 01 Jan 2022 02:02:45 +0200
Five common JavaScript memory errors
Author: Jose GranjaTranslator: front end XiaozhiSource: mediumThere are dreams and dry goods. Wechat search [Daqian world] pays attention to this bowl washing wisdom who is still washing dishes in the early morning.This article GitHub https://github.com/qq449245884/xiaozhi It has been included. There are complete test sites, materials and my s ...
Added by marksie1988 on Sat, 01 Jan 2022 00:44:09 +0200
Front end - jQuery Basics
Daily share:
In the cold winter season, learn to say goodbye to the past, follow the past, and see you later.
I hope that on the way to the future, we have endless love, such as bright stars and free wind.
catalog:
Introduction to jQueryjQuery DownloadUse of jQueryjQuery selectorjQuery selection set filteringjQuery selection set transfer
1, ...
Added by steveclondon on Fri, 31 Dec 2021 21:01:32 +0200
Front end development_ JavaScript_ Object construction and access
Object construction and access
1. Introduction
In the last class, we explained the definition of objects and basic display output. In order to better learn some objects provided by subsequent JavaScript, we now begin to learn the construction and access of objects.
2. Object constructor
(1). Construction is generally used when initia ...
Added by shmony on Fri, 31 Dec 2021 17:29:06 +0200
[wechat applet cloud development] learn to upload, download, preview and delete pictures in 1 minute, and display pictures in Jiugong grid
Hello, my name is little bald monkThis article is to explain how cloud development can upload, download, preview and delete images, and display the functions of images in a nine house grid@1. Realization effectDon't talk nonsense. Look at the effect firstexplain:In the middle of the pause, I was choosing to upload photos. Click the "x" ...
Added by labmixz on Fri, 31 Dec 2021 14:45:13 +0200
Stick to 36 JS handwritten questions (after understanding, the improvement is really great)
Why write such articles
As a programmer, code ability is undoubtedly very, very important. For example, why do big companies basically ask what API to implement in interviews? We can see its importance. What I want to say is that handwriting is so important that we must master it. Therefore, it is not too much to use the title of the arti ...
Added by kporter.porter on Fri, 31 Dec 2021 12:46:25 +0200
Webpack of fashion - beginner level chapter
Fashion Webpack - core concepts of basic articles (2) fashion cloud - CSDN blog fashion Webpack - core concepts of basic articles (2)https://blog.csdn.net/zsx0806/article/details/122198850
Picture from webpack Official website logo
Some methods of loader:
css loader - process css files} style loader - insert css into header
Less ...
Added by Attila on Fri, 31 Dec 2021 11:47:26 +0200