Created
April 4, 2018 07:11
-
-
Save haidarafif0809/8531fb177f28ad663615e63da3a51c0d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Car { | |
constructor(color) { | |
this.color = color | |
} | |
} | |
const car = new Car('merah') | |
console.log(car.color) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment