请老师检查
来源:3-10 编程练习
请你摘掉伪善的面具
2021-07-06 16:57:34
相关代码:
<!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,
colun: 4
}
}
};
const {
loc:{
start:[a],
end:{
line,
}
}
}=node;
console.log(a,line);
</script>
</body>
</html>
1回答
好帮手慕久久
2021-07-06
同学你好,代码正确,很棒,祝学习愉快!