DevBitBytedevbitbyte.hashnode.dev·Dec 6, 2023How to write JavaScript some and every method from scratchsome Returns true if at least the callback function returns true otherwise false. Array.prototype._some = function(cbFunction) { for(let i = 0; i < this.length; i++) { if(cbFunction(this[i], i, this)) { return true } ...DiscussJavascript Mini Challenges & ProjectsJavaScript