Which statement should the Developer use to lazy load scripts?

A Digital Developer is asked to optimize controller performance by lazy loading scripts as needed instead of loading all scripts at the start of the code execution.

Which statement should the Developer use to lazy load scripts?
A . importPackage () method
B. $.ajax () jQuery method
C. local include
D. require () method

Answer: D

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments