FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Starting after long: Day 0 in Js Tips · smitd21/My-JavaScript-Foundation@4ab9ef4 · GitHub

Commit 4ab9ef4

Browse files
committed
Starting after long: Day 0 in Js Tips
1 parent 0a6ce33 commit 4ab9ef4

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

‎JavaScript Tips/script.js‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,12 @@ If any of the value is of string type and it's added to other values
66
JS will first automatically convert the other values to a string
77
And then they are altogether concatenated giving an entire string as output
88
*/
9+
const javascript = 'fun';
10+
console.log(`JavaScript is indeed ${javascript}`);
11+
12+
const haveMoney = true;
13+
if(haveMoney){
14+
console.log(`Buy a Lamborghini !!... And that's how you should live!!`);
15+
} else{
16+
console.log(`Go by train ;(`);
17+
}

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL