Which of the following is a reason why a developer would use a JavaScript library?
A.
JavaScript libraries ensure quality code that does not harbor security risks.
B.
JavaScript libraries require a shorter learning curve than JavaScript.
C.
JavaScript libraries are subsets of Java and thus provide more powerful code.
D.
JavaScript libraries provide platform-independent code that will behave identically in any
browser.
Explanation: