Created
June 26, 2020 14:37
-
-
Save zeptobook/56310ec5bbccb31b2d8c2f513f1e1f0b 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 Person { | |
static age = 25; | |
static firstname = 'fname'; | |
static lname = 'lname'; | |
static city = 'jersey city'; | |
} | |
console.log(Person.age); | |
console.log(Person.firstname); | |
console.log(Person.lname); | |
console.log(Person.city); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment