FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
My-JavaScript-Foundation/JavaScript Tips/script.js at master · smitd21/My-JavaScript-Foundation · GitHub
smitd21
/
My-JavaScript-Foundation
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
3
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
My-JavaScript-Foundation
/
JavaScript Tips
/
script.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
17 lines (15 loc) · 555 Bytes
Breadcrumbs
My-JavaScript-Foundation
/
JavaScript Tips
/
script.js
Copy path
File metadata and controls
17 lines (15 loc) · 555 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
console
.
log
(
'110'
+
70
)
;
//11070 - String
console
.
log
(
'990'
+
45
+
9
+
'75'
)
;
//99045975 - String
/*
If any of the value is of string type and it's added to other values
JS will first automatically convert the other values to a string
And then they are altogether concatenated giving an entire string as output
*/
const
javascript
=
'fun'
;
console
.
log
(
`JavaScript is indeed
${
javascript
}
`
)
;
const
haveMoney
=
true
;
if
(
haveMoney
)
{
console
.
log
(
`Buy a Lamborghini !!... And that's how you should live!!`
)
;
}
else
{
console
.
log
(
`Go by train ;(`
)
;
}
Back
|
FazBrowse Home
|
New Git URL