const readline = require('readline-sync')//引用readline-sync let arr = [[], []]; //登陆 let add = function () { let s = ;//输入错误的次数 while (true) { console.log('请输入用户名:'); let user = readline.question(); console.log('请输入密码:'); let password = readline.quest…