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 } ...Javascript Mini Challenges & ProjectsJavaScriptAdd a thoughtful commentNo comments yetBe the first to start the conversation.