FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
JavaScript-Full-Course/Object/properties_method.js at main · Gulshid/JavaScript-Full-Course · GitHub
Gulshid
/
JavaScript-Full-Course
Public
Notifications
You must be signed in to change notification settings
Fork
0
Star
5
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
JavaScript-Full-Course
/
Object
/
properties_method.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
24 lines (18 loc) · 462 Bytes
Breadcrumbs
JavaScript-Full-Course
/
Object
/
properties_method.js
Copy path
File metadata and controls
24 lines (18 loc) · 462 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
const
student
=
{
name
:
"Gulshid Zada"
,
age
:
23
,
roll_no
:
391
,
marks
:
450
,
greet
:
function
hello
(
)
{
console
.
log
(
"Hello "
+
this
.
name
)
;
}
}
;
console
.
log
(
student
.
name
,
student
.
roll_no
,
student
.
age
,
student
.
marks
)
;
// properties
student
.
greet
(
)
;
// methods
/*
Lecture # 50
Topic : Properties & Methods in JavaScript
Properties & Methods:
* Properties = values
* Methods = functions inside object
*/
Back
|
FazBrowse Home
|
New Git URL