摘要:
const readline = require('readline-sync'); let users = [ ['zhangsan', '123123', 1000], ['lisi', '000', 2000], ['1', '2', 3000] ]; // 登录 let login = fu 阅读全文
摘要:
const readline = require('readline-sync');//引入用户输入功能 console.log('请输入数组的长度:');//提示用户输入 let length = readline.question();//获取用户输入 let arr = [];//创建数组 f 阅读全文