We're a place where coders share, stay up-to-date and grow their careers.
Web Developer
All private interactions must abide by the code of conduct.
Javascript
function adjacentProduct(a) { const result = []; for...
Nov 12 '20
That is not wrong. That's just one aspect of closures.
Oct 30 '20
You're right! I just read the function body. I'll show myself...
Oct 25 '20
You might want to use let or const keywords because var will ...
Closure is not necessarily a function, it can be any data typ...
Oct 19 '20
Recent comments
Daily Challenge #306 - Largest Possible Product
function adjacentProduct(a) { const result = []; for...
Basic JavaScript Interview Questions
That is not wrong. That's just one aspect of closures.
A common language feature I never learned about in college
You're right! I just read the function body. I'll show myself...
A common language feature I never learned about in college
You might want to use let or const keywords because var will ...
Basic JavaScript Interview Questions
Closure is not necessarily a function, it can be any data typ...