FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
JavaScript-II-Mini/classes.js at master · bloominstituteoftechnology/JavaScript-II-Mini · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
bloominstituteoftechnology
/
JavaScript-II-Mini
Public
Notifications
You must be signed in to change notification settings
Fork
210
Star
2
Code
Issues
0
Pull requests
67
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-II-Mini
/
classes.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
19 lines (12 loc) · 483 Bytes
Breadcrumbs
JavaScript-II-Mini
/
classes.js
Copy path
File metadata and controls
19 lines (12 loc) · 483 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
// to test these problems you can run 'node classes.js' in your terminal
// problem #1
// convert the Animal constructor function from 'constructors.js' into an ES6 class
// problem #2
// convert the Cat constructor function from 'constructors.js' into an ES6 class
// if everything is setup properly the code below will print 'Foofie grew larger!'
// uncomment the code below to test your solution
// const foofie = new Cat({
// name: 'foofie',
// });
//
// foofie.grow();
Back
|
FazBrowse Home
|
New Git URL