Utils.js 316 Bytes Edit 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 export function DeepCopy(a) { let json = JSON.stringify(a); return JSON.parse(json); } export function getLogicAdress(bic) { if (bic.length == 11) { return bic.substring(0, 8) + "X" + bic.substring(8, 11); } if (bic.length() == 8) { return bic + "XXXX"; } }