Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function timesTwo(params) {
- return params * 2
- }
- timesTwo(4); // 8
- var timesTwo = params => params * 2
- timesTwo(4); // 8
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement