I\'ve always wondered why Javascript has the global Math object instead of giving numbers their own methods. Is there a good reason for it?
Also are there any drawbacks
You can do this
Number.prototype.round = function() { return Math.round(this.valueOf()); };
https://www.w3schools.com/jsref/jsref_prototype_num.asp