Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F4503190
proto.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
364 B
Referenced Files
None
Subscribers
None
proto.js
View Options
function
Person
(
first
,
last
)
{
this
.
firstName
=
first
;
this
.
lastName
=
last
;
}
Person
.
prototype
.
fullName
=
function
()
{
return
this
.
firstName
+
' '
+
this
.
lastName
;
};
const
person1
=
new
Person
(
'John'
,
'Doe'
);
const
person2
=
new
Person
(
'Jane'
,
'Smith'
);
console
.
log
(
person1
.
fullName
());
console
.
log
(
person2
.
fullName
());
console
.
log
(
Person
.
prototype
);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, May 3, 9:23 AM (1 d, 21 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
518203
Default Alt Text
proto.js (364 B)
Attached To
Mode
rANT Ant
Attached
Detach File
Event Timeline
Log In to Comment