UNPKG
qingyun_liuzuoyun
Version:
latest (1.0.0)
1.0.0
my
qingyun_liuzuoyun
/
mod-package
/
person.js
11 lines
(8 loc)
•
179 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
function
Person
(
name,age
) {
this
.
name
= name;
this
.
age
= age; }
Person
.
prototype
.
do
=
function
(
) {
console
.
log
(
"hahahahahah"
+
this
.
name
); }
exports
.
Person
=
Person
;