JSFiddle - React, Tailwind, and code Playground
JavaScript
var exports = {};
function fail() {
var encode1 = exports.encode1 = function encode1(password) {
var hash = _hmac(password);
var salt = bcrypt.genSaltSync();
return bcrypt.hashSync(hash, salt);
};
function encode2(password) {
var hash = _hmac(password);
var salt = bcrypt.genSaltSync();
return bcrypt.hashSync(hash, salt);
};
exports.encode2 = encode2;
}
fail()
console.log(typeof encode1);
console.log(typeof encode2);