Front End Programmer Question:

Download Job Interview Questions and Answers PDF

Explain what is lazy loading?

Front End Developer Interview Question
Front End Developer Interview Question

Answer:

Lazy loading is a design pattern commonly used in computer programming to defer initialization of an object until the point at which it is needed.

Lazy loading is loading code only once user needs it. For Example, there is a button on the page, which shows different layout once user pressed it. So there is no need to load code for that layout on initial page load.

Download Front End Developer Interview Questions And Answers PDF

Previous QuestionNext Question
Tell me are you familiar with Jasmine or QUnit?Do you know what is the difference between == and === ?