This post was written to collect notes from different sources.
Java script is one of the most popular programming languages in the world but it is…