请老师检查作业,谢谢
来源:3-10 编程练习
叫我丽红
2021-07-27 22:35:32
<!DOCTYPE html>
<html>
<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-07-28
同学你好,代码是正确的,很棒。继续加油,祝学习愉快!
相似问题