How to use the postal function from chance
Find comprehensive JavaScript chance.postal code examples handpicked from public code repositorys.
203 204 205 206 207 208 209 210 211 212
case 'pick': fld = hdr[k].arg; s += chance.pick(fld.split('|')).toCsv(CSV.delimiter); break; case 'postal': s += chance.postal().toCsv(CSV.delimiter); break; case 'province': s += chance.province().toCsv(CSV.delimiter); break;
2
8
0
chance.word is the most popular function in chance (344 examples)