Array.prototype.map
Submit a solution
Connect your GitHub account to submit a solution
Community solutions
Array.prototype.map
Custom Map function
Array.prototype.map
Implemented with React
Array map function
Simple map function.
Polyfill for Map
Polyfill for Map
Array.prototype.map
NA
Vanilla JS Solution
Array Map solution
my costum map
simple map with good validation
JS map function
JS map function
Vanilla JS Solution
Vanilla JS Solution to the challenge + bonus challenge.
custom Js map using vanilla JS
Used vanilla JS
map implementation
used a for loop to traverse through the array, put the array elements in the callback. return the value in an array
Custom Map function
This is a map function which takes two arguments, array and a callback and returns the new array.
map polyfill
map polyfill using reduce hof
Vanilla JS custom map()
custom map function
Array Prototype
The was easy just used map inside the function
Array.prototype.map
custom map
Array.Protoype.map
I have written the polly fill for map function of javascript
Array.prototype.map
Create a polyfill of map method in array
Array.prototype.map - Vanilla JS template
Create a custom map function for arrays
An easy solution using for of
An easy solution using for of
Array's map function prototype
in the map function, pass an array and a callback and it will return mapped elements
Array.Prototype.map
Array.prototype.map
Array.prototype.map
Array.prototype.map
React Solution
Solution for the question + the challenges
Array.prototype.map
Polyfill for Map
Array map polyfill
Make a polyfill of a map
Array.prototype.map with for loop
This is my answer
my map using for...of
very simple - do not see why this was given an estimate of 45 minutes
MISS
map function
BareBones Map function
The function loops through the array and Capitalizes all the words in the array with the callback function
BareBones Map function
The function loops through the array and Capitalizes all the words in the array with the callback function
own mapArray function
i used a for loop and use callback function inside of
Array prototype for map
myMap prototype created
Array.prototype.map - Vanilla JS template
array's map polyfill
array map function
array map function
Array.prototype.map
Straightforward implementation of Array.prototype.map function
Array.prototype.map
Simple straight forward solution
Array.prototype.map
Map function
Cleanest javascript solution
Easiest one
Array.prototype.myMap
Cleanest solution
Array.prototype.map functionality via a custom prototype method and a normal function with array and callback function as parameters
Implementing Array.prototype.map functionality in 2 different ways.
javascript solution
simple solution
Array.prototype.map
Polyfill for Array.prototype.map
Array.prototype.map
Array.prototype.map
Some array methods implementation
Implementation using for loop
map polyfill (Array.prototype.map)
created map polyfill using for loop
Simple map polyfill in JS
Simple map polyfill in JS
Array.prototype.map
Array.prototype.map using forEach loop
Implementation of map,some and filter
I have used for loop for raw implementation of these functions but i think i could have used reduce as well.
vanilla js solution with overloading
https://codepen.io/kanarian/pen/ZEoeBoo
Array.prototype.map, .forEach, .every, .some - Vanilla JS by AlishaSo
Contains the solution to the original problem (create your own version of the map function), with the additional challenge of passing the index to the callback function. Also includes the extra challenge of recreating the forEach, every and some functions.
Array.prototype.map
Polyfill for the map method of java
Self-explanatory solution using forEach
Self-explanatory solution using forEach
easy js solution
used a foreach loop
Vanilla JavaScript
Used a forEach() loop
Array.prototype.map
The custom map called mapOwn With challenge 1
VanillaJS map
custom map
Array Map + Array.prototype.map - Vanilla JS template
Includes challenge question
Simple solution
NA
Map in Vanilla JS
Works with array and index in the callback
Map
Vanilla JS
Custom map
Custom map
Array.prototype.map clone
map clone
Vanilla JS map
A simple Array.prototype.map implementation
Array.prototype.map
Vanilla JS solution
Array.prototype.map - Vanilla JS template
Array.prototype.map - Vanilla JS template
Custom map implementation
Implementing map function without Array.prototype.map
Map Implementation
Implementing map function without Array.prototype.map
Array.prototype.map
Pass in an array and a callback to map the array. Error handled by argument type checking
Javascript solution
Simple solution with item and index in map.
Array.prototype.map
Create a custom Array.prototype.map
Array.prototype.map
Implement map method for array
Array map function
Custom array map implementation