My goal is to include custom properties in the Quasar framework, but I am encountering an error with ESLint. It displays the following message:
Array prototype is read only, properties should not be added
I am looking to implement an extend method for Arrays:
Array.prototype.extend = function (other_array) {
/* A test should be included to verify whether other_array is truly an array */
other_array.forEach(function(v) {this.push(v)}, this)
}