Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Car {
- let myCar1 = new Car("Ferrari", 1970);
- let myCar2 = new Car("Alfa Romeo", 2000);
- }
- //More complicated, complex, and better classes coming up soon! Stay updated for that :)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement