Event Loop

You’ve probably heard at one point or another that Javascript is single-threaded. What does that mean? It means that the Javascript engine is only ever executing one piece of code at a time.