Whenever you're ready, walk me through how you'd approach this.
Explain the inner workings of the JavaScript engine and how modern engines execute code.