请老师检查
来源:3-10 编程练习
慕数据4158169
2021-03-17 17:30:08
相关代码:
let node = {
type:'Identifier',
name:'ES',
loc:{
start:['line','column'],
end:{
line:1,
column:4
}
}
}
const {loc:{start:[x]},loc:{end:{line}}} = node
console.log(x,line);
1回答
同学你好,代码实现正确哦。继续加油,祝学习愉快~