Nguyễn Hồng Nhung
New member
What are external libraries in JavaScript?
Answer
Syntax for creating JavaScript libraries
All JavaScript libraries consists of two parts: The external JavaScript itself, which is simply
a text file with the containing JavaScript code
, saved as a . js file. A <script> tag referencing the external JavaScript file and defined on the page(s) that uses the library.
Answer
Syntax for creating JavaScript libraries
All JavaScript libraries consists of two parts: The external JavaScript itself, which is simply
a text file with the containing JavaScript code
, saved as a . js file. A <script> tag referencing the external JavaScript file and defined on the page(s) that uses the library.