Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const tag = (strings, ...values) => {
- console.log(strings)
- console.log(values)
- }
- let val1 = "Hello"
- let val2 = "World"
- let val3 = "!"
- tag`ABCD${val1}EFGH${val2}IJKL${val3}`
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement