How to extend built-in types in JavaScript?
Originally posted here!
To make a custom datatype or extend a built-in datatype you have to use the extends keyword followed by the name of datatype you want to extend.
By this, you inherit the properties and methods of the extending datatype.
Let's...
melvingeorge-me.hashnode.dev3 min read