On this page输入输出输入#let a = prompt('please input msg')Copy会跳出一个输入框给用户输入数据,输入的是string类型可以直接 赋值给变量输出#alert('xxx')console.log('xxx')document.getElementById('one').innerText=aCopy三种很简单