FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
JavaScript/01 - JavaScript-Basics/variablesAndDataTypes.js at master · lgope/JavaScript · GitHub
lgope
/
JavaScript
Public
Notifications
You must be signed in to change notification settings
Fork
4
Star
11
Code
Issues
0
Pull requests
2
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
JavaScript
/
01 - JavaScript-Basics
/
variablesAndDataTypes.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
25 lines (18 loc) · 430 Bytes
Breadcrumbs
JavaScript
/
01 - JavaScript-Basics
/
variablesAndDataTypes.js
Copy path
File metadata and controls
25 lines (18 loc) · 430 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
18
19
20
21
22
23
24
25
// Data types
var
firstName
=
"John"
;
console
.
log
(
firstName
)
;
var
lastName
=
"Smith"
;
var
age
=
28
;
var
fullAge
=
true
;
console
.
log
(
fullAge
)
;
var
job
;
console
.
log
(
job
)
;
job
=
"Teacher"
;
console
.
log
(
job
)
;
/*
// Variable naming rules
var _3years = 3;
var johnMark = 'John and MArk';
//var 2sum = 5+5; // error beacause variable doesn't start with number
//var if = 23; // it doesn't exits because if is reserved keyword
*/
Back
|
FazBrowse Home
|
New Git URL