function clear_key(obj, k) {
if(obj && k) {
Object.keys(obj).forEach(key => {
obj[key][k] = undefined;
});
return;
}
throw 'Object and key is required';
}
function clear_key(obj, k) {
if(obj && k) return Object.keys(obj).forEach(key => obj[key][k] = undefined);
throw 'Object and key is required';
}
const interval = setInterval(() => {
fetch('search.php', {
method: 'POST',
body: formData
})
.then(res => res.json())
.then(search => fetch('status.php', {
method: 'POST',
body: JSON.stringify(search)
})
)
.then(res => res.json())
.then(status => {
if(status === 200) clearInterval(interval)
console.log(status);
})
}, 300);
parseInt(atob(_0x5fd69b)[_0x00dd('0x2')](/\D/g, '')
_0x00dd('0x2')
let a = btoa(12345);
console.log(parseInt(atob(a)[0].replace('2', '')))
.test(str) => .test(el)
function pigIt(str){
const splitted = str.split(' ');
return splitted.map(el => {
console.log(el)
if(el.length === 1 && !new RegExp(/^[a-zA-Zа-яА-Я0-9]+$/).test(el)) return el;
const es = el.split('');
es[es.length] = es[0];
es.splice(0, 1);
return es.join('') + 'ay';
}).join(' ');
}