87,996
社区成员




export let x = 16;
export let y = 18;
import {x,y} from "./A.js"
export const info = ()=> {
console.log(x);
console.log(y);
}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<a target="_blank" href="https://haokan.baidu.com/v?vid=3287493157961049805&pd=bjh&fr=bjhauthor&type=video">
教学视频
</a>
<script type="module">
import {info} from "./B.js";
info();
</script>
</body>
</html>