JavaScript defines several objects that are part of its core: Array, Boolean, Date, Function, Math,Number, RegExp, and String. Each object extends Object, inheriting and defining its own properties and methods. I’ve occasionally needed to augment these core objects with new properties and methods and have created a library with these enhancements. In this article, I present various enhancements that I’ve introduced to the Array, Boolean, Date, Math, Number, and Stringobjects.
Your new post is loading...