Skip to content

Instantly share code, notes, and snippets.

@haidarafif0809
Created April 4, 2018 07:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save haidarafif0809/8531fb177f28ad663615e63da3a51c0d to your computer and use it in GitHub Desktop.
Save haidarafif0809/8531fb177f28ad663615e63da3a51c0d to your computer and use it in GitHub Desktop.
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