Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //"qwertyuiopasdfghjklzxcvbnm".split("").sort().map(V=>{return V.replace(/(.)/,'let $&;')}).join("\n");
- "qwertyuiopasdfghjklzxcvbnm".split("").sort().map(V=>{return V.replace(/(.)/,'$&, ')}).join("").replace(/^(.+)$/,'const $&').replace(/..$/,';');
- // =>
- //let a, b, c, ....... x, y, z;
- // console.dir(*); style
- "qwertyuiopasdfghjklzxcvbnm".split("").sort().map(V=>{return V.replace(/(.)/,'console.dir($&);')}).join("\n")
- // =>
- // console.dir(a);
- // console.dir(b);
- // console.dir(c);
- // .
- // .
- // .
- // console.dir(y);
- // console.dir(z);
- // console.log("*:"); style
- "qwertyuiopasdfghjklzxcvbnm".split("").sort().map(V=>{return V.replace(/(.)/,'console.log("$&:");')}).join("\n");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement