Skip to content

Instantly share code, notes, and snippets.

@zeptobook
Created June 26, 2020 14:37
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 zeptobook/56310ec5bbccb31b2d8c2f513f1e1f0b to your computer and use it in GitHub Desktop.
Save zeptobook/56310ec5bbccb31b2d8c2f513f1e1f0b to your computer and use it in GitHub Desktop.
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