Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (true) {
- //const name = 'David';
- } else {
- console.log('no name');
- }
- for (let i = 0; i < 10; i += 1) {
- let product = 0;
- product += i * i;
- console.log(product);
- }
- const worker = () => {
- var name = 'Jason';
- }
- var name = 'drake';
- console.log(name);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement