老师检查一下,谢谢!

来源:3-10 编程练习

慕容5288970

2021-08-08 18:00:30

相关代码:

​<!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 node={
type:"Identifier",
name:"ES",
loc:{
start:["line","column"],
end:{
line:1,
column:4
}
}
};
const {
loc:{
start:[y],
end:{line}
},
}=node;
console.log(y,line)
</script>
</body>
</html>


写回答

1回答

好帮手慕慕子

2021-08-08

同学你好,代码实现是对的,继续加油,祝学习愉快~

0

0 学习 · 15276 问题

查看课程