Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const log = (...args) => console.log(...args);
- log('This', 'is', 'useless');
- // 'This', 'is', 'useless'
- const name = 'Bob';
- log`Hi ${name}! How are you?`;
- // ['Hi ', '! How are you?'], 'Bob'
Add Comment
Please, Sign In to add comment