JIT

During compilation of code in Angular 4, Just-in-Time (JIT) compilation (also known as dynamic translation or run-time compilations) is used to execute computer code involving compilation during the run time of a program, precisely, prior to execution.

AOT

In Angular 4, Ahead-of-Time(AOT) compilation is used to convert your code during the build time before it loads on the browser. This creates a scope for faster rendering in your browser.

BY Best Interview Question ON 20 Jan 2020