请老师帮忙检查一下代码,谢谢
来源:3-10 编程练习
廖可爱bongbong
2021-06-21 14:58:59
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
<script type="text/javascript">
//补充代码
let node = {
type: "Identifier",
name: "ES",
loc: {
start: ["line", "column"],
end: {
line: 1,
column: 4
}
}
};
const {
loc: {
start: [a],
end: {
line
}
}
} = node;
console.log(a, line);
</script>
</body>
</html>
1回答
好帮手慕言
2021-06-21
同学你好,效果正确,继续加油,祝学习愉快~
相似问题