Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
hans() {
const nzhcn = Nzh.cn;
const nzhhk = Nzh.hk;
let n = this.number;
let data = [
{
lang: 'cn',
data: [
{
name: '中文小写',
encode: [
nzhcn.encodeS(n),
nzhcn.encodeS(n, { tenMin: false })
]
},
{
name: '中文大写',
encode: [
nzhcn.encodeB(n),