DevBitBytedevbitbyte.hashnode.devยทDec 9, 2023How to write JavaScript array methods push and pop from scratchpush Add an element to the end of the array(JS has a dynamic array). Array.prototype._push = function(...values) { for(let i = 0; i < values.length; i++) { this[this.length] = values[i] } return this.length } const fruits = ['ap...Javascript Mini Challenges & ProjectsJavaScriptAdd a thoughtful commentNo comments yetBe the first to start the conversation.