Archive of posts with category 'Javascript'

Higher Order Functions

Higher order functions - HOF are simply a function that can take a function as an argument or a function that returns another function.

Javascript types

Luckily for us there aren’t that many data types in Javascript. There’s only 7 of them.

Call Stack and Memory Heap

We known that the Javascript engine does a lot of work for us. With that the biggest thing is actually reading our code and executing it.

Javascript engine

We know that Javascript engine takes our written Javascript code and does somethings magic to tell the computer to do what we want it to do.

What is this

This afternoon, I have a Front-end interview with a company. They have asked me for this keyword. I could not explain it in a simple way. So I after finished...

What is recursion and when is it useful?

Recursion is the repeated application of a process. In JavaScript, recursion involves functions that call themselves repeatedly until they reach a base condition. The base condition breaks out of the...