kolodny / exercises

Some basic javascript coding challenges and interview questions
4.23k stars 672 forks source link

Added map #28

Closed trexnix closed 9 years ago

trexnix commented 9 years ago

I wrote this yesterday but I need some reviews. What do you guys think? @kolodny @danrevah

One need to understand how prototype works to be able to solve this.

danrevah commented 9 years ago

Looks great to me :+1: let's see what @kolodny has to say.

p.s: Just change the readme.md file in line:

console.log(doubles); // [1, 4, 6]

while it should be [2, 4, 6].

trexnix commented 9 years ago

Oops, thanks @danrevah

kolodny commented 9 years ago

Looks good, sorry about the slow response times, it's a drop busy around here. I'm gonna make a couple of minor tweaks and merge it in