
分析:1.用户输入
2.内部处理保存数据
3.打印输出
javascript
<body>
<script>
let name = prompt('输入你的名字')
document.write(name)
</script>
</body>