1Javascript is a single threaded language. This means it has one call stack and one memory
2heap. As expected, it executes code in order and must finish executing a piece code before
3moving onto the next. It's synchronous, but at times that can be harmful. For example, if a
4function takes awhile to execute or has to wait on something, it freezes everything up in the
5meanwhile.