📅  最后修改于: 2022-03-11 14:56:34.738000             🧑  作者: Mango
firebase.auth().createUserWithEmailAndPassword(email, password) .then((user) => { // Signed in // ... }) .catch((error) => { var errorCode = error.code; var errorMessage = error.message; // .. });email.js