如何将来自的用户输入存储<input type="text">到Javascript数组中?到目前为止,我有:
<input type="text" id="user_input">
<button type="button>click</button>
<script>
const myArray = [];
//what next? I don't mind using console.log to test
</script>
慕桂英4014372
温温酱
慕雪6442864
相关分类