swc/crates/swc_ecma_minifier/tests/fixture/issues/2028/input.js
2022-04-20 15:52:03 +09:00

12 lines
195 B
JavaScript

function isSymbol(s) {
return s != null;
}
function isKey(value, object) {
if (value == null || isSymbol(value)) {
return true;
}
return false;
}
module.exports = isKey;