当前位置:网站首页>Es6连续解构赋值+重命名
Es6连续解构赋值+重命名
2022-08-09 08:45:00 【鱼是一只鱼啊】
let obj={
a:{
b:'土豆'}}
const{
a:{
b:name}}=obj
console.log(name) //这个name即为重命名以后的值
边栏推荐
- The 5th Blue Cap Cup preliminary misc reappears after the game
- Conversion between number systems
- LAN Technology - 6MSTP
- 鸿蒙开发实战一——手表篇
- Where does detection go forward?
- jdbctemplate connects to sql server, the data found in the code is inconsistent with the database, how to solve it?
- The working principle of switch
- Routing configuration forwarding and experiment
- Max Flow P
- 内存监控以及优化
猜你喜欢
The principle and configuration of VLAN
Account and Permission Management
消息中间件(MQ)前置知识介绍(必看)
leetcode 35. 搜索插入位置(二分法+找性质也很关键)
A watch - article HongMeng development practical experience
Shell编程之循环语句与函数
Venture DAO 行业研报:宏观和经典案例分析、模式总结、未来建议
+ 6000 words, help you understand the Internet architecture evolution.
电子产品整机结构设计的一般性思路
web3到底是什么?
随机推荐
Tencent cloud server is modified to root login to install pagoda panel
图像识别后将识别结果整理成列表,点击列表可跳转到搜索页面
权限管理模型 ---- ACL、RBAC和ABAC(详解)
I'm here to advertise
Shell编程之正则表达式
MySql homework practice questions
Routing configuration forwarding and experiment
系统安全及应用
OpenHarmony Light Smart Product Development Live Notes
nyoj306 走迷宫(搜索+二分)
三次握手,四次挥手
The 5th Blue Cap Cup preliminary misc reappears after the game
数据解析之bs4学习
The story of the disappearing WLAN of Windows 10 computers
NodeMCU(ESP8266) 接入阿里云物联网平台 踩坑之旅
requests之数据解析Xpath介绍
数制之间的转换
leetcode 35. 搜索插入位置(二分法+找性质也很关键)
requests爬取百度翻译
QT程序生成独立exe程序(避坑版)