当前位置:网站首页>es6--解构赋值
es6--解构赋值
2022-07-25 21:28:00 【alice--小文子】
1 满足要求:
(1)左右一致
(2)右边是个东西(例如数据或者json)
2 使用详细代码
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<script>
let {a,b,c} = {a:11,b:22,c:33};
console.log(a,b,c);
let [d,e,f] = [444,555,666]
console.log(d,e,f);
</script>
</body>
</html>边栏推荐
- The noise reduction effect is increased by more than 6 times! With the microphone inside the headset, this wireless noise reduction headset is unusual!
- C common set
- MPI learning notes (II): two implementation methods of matrix multiplication
- 零基础学习CANoe Panel(17)—— Panel CAPL Function
- 函数栈帧的创建和销毁
- Oracle RAC RMAN backup error ora-19501 ora-15081
- Mysql8.0 MHA to achieve high availability "MHA"
- Isn't it too much to play Gobang in idea?
- How to evaluate hardware resources (number of CPUs, memory size) when Oracle migrates from small computers to x86 architecture? Is there a measurement index or company?
- Job interviews are always a second kill? After reading the seckill system notes secretly stored by JD T8, I have given my knees
猜你喜欢

The adequacy of source evaluation forum · observation model test

The international summit osdi included Taobao system papers for the first time, and end cloud collaborative intelligence was recommended by the keynote speech of the conference

In depth understanding of seven specific ways to enhance code scalability

Add startup software items when the win system starts up

Basic method of black box (function) test

Qixin Jushi cloud spectrum new chapter | Haitai Fangyuan and Sichuan Unicom reach ecological strategic cooperation

SSH private key realizes login to remote target server

DDD go practice

Per capita Swiss number series, Swiss number 4 generation JS reverse analysis

Matlab---eeglab check EEG signal
随机推荐
Qixin Jushi cloud spectrum new chapter | Haitai Fangyuan and Sichuan Unicom reach ecological strategic cooperation
Matlab---eeglab check EEG signal
DDD go practice
我也是醉了,Eureka 延迟注册还有这个坑!
Advanced technology management - how can the team be broken?
C#Socket
两数,三数之和
CTS test steps (Casio cts200 test)
基于腾讯地图实现精准定位,实现微信小程序考勤打卡功能
Apple estimates that iPhone will give up the Chinese market, and the Chinese industrial chain needs to consider living a hard life
Handwriting distributed configuration center (1)
3阶有向完全图的所有非同构的子图(不同钩子图个数)
Record the transfer of domain names from Alibaba cloud service providers to Huawei cloud
cv图像翻转,EmguCV图像旋转「建议收藏」
牛客-TOP101-BM37
Fusing and degrading Sentinel
Job interviews are always a second kill? After reading the seckill system notes secretly stored by JD T8, I have given my knees
【C语言入门】ZZULIOJ 1016-1020
On Web Performance Optimization (1)
Temperature and humidity environment monitoring system based on stm32