Google JavaScript Technical Interview (Callbacks, Promises, Await/Async)

GP Lee
Web Developers Tomorrow
7 min readMay 19, 2020

--

Web Developers Tomorrow

Enjoyed this article? If so, get more similar content by subscribing to our publication! OR publish your articles by sending your Medium name, and a draft link to developers.tomorrow@gmail.com

Takeaways from reading this article

learn following things:

1. Callbacks

  • What is a Callback in JavaScript
  • Callbacks in real Life

2. Callbacks vs. ES6 Promises & Await / Async

  • Why Promises
  • What are Promises
  • How Promises resolves Callback Hell

Sample problems (one of them is an actual Callback problem I had from the Interview)

Q1. Print the letters A, B, C in that order in callback , Promise , Async / Await

Q2. Print the array of list [A, B, C] in the order

--

--

GP Lee
Web Developers Tomorrow

Full Stack Engineer (JS, C#, AWS) in NYC. Please follow me on @gpda (Github) or @gpleeda (LinkedIn)