(do not use any of the respective native JS methods to implement your solutions(javascrpt)JavaScript syntax, functions, and higher-order functions, and to better understand JavaScript and Array methods.do not copy from chegg)
reduce()
Without using the native “Array.prototype.reduce” method of JavaScript, compose a function titled “myReduce” that will take in an array of elements and executes a callback function (provided by you) on each of those elements.
includes()
Without using the native “Array.prototype.includes” method of JavaScript, compose a function titled “myIncludes” that will take in an array of elements and indicates whether or not a target element is contained within the input array. This returns a boolean.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here