static in JavaScript
This keyword static allows us to create methods and properties that are assigned to the class itself, and not it's instances.
class person {
// A static method
statis hello() {
console.log("Hello!");
}
}
// Call the static metho...
rahulism.hashnode.dev2 min read