1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
11Alexandr11 [23.1K]
3 years ago
9

How to use javascript libraries in javascript code?

Computers and Technology
1 answer:
cricket20 [7]3 years ago
3 0
When running in a browser, your source webpage should load the .js file containing the library, e.g.,:

<span><script type="text/javascript" src="<span>http://your.cdn.com/somelib.js</span>"></script>

In a stand-alone environment, like node.js, you use the require() statement:

</span><span>const crypto = require('crypto'<span>);

To load the required libraries, you use the package manager npm:

npm install crypto

This will create a local copy of the library.</span></span>
You might be interested in
1. What is an object and what does it do?
Reptile [31]

Answer:

An object is an abstract data type with the addition of polymorphism and inheritance. Rather than structure programs as code and data, an object-oriented system integrates the two using the concept of an "object". An object has state (data) and behavior (code). Objects can correspond to things found in the real world.

Explanation:

3 0
3 years ago
Employee names are stored using a maximum of 50 characters. This information is an example of which of the following?
enyata [817]

Answer: Data model

Explanation: Data model is the arrangement of the information in the form of table structure to maintain it in the form of database.They help in the keeping the entities in the sequence and can be tracked when required.Example- vendors records,customer record etc.

Other options are incorrect because the data retrieval is the regaining of the data from database, record instance is the parts of the database records  and meta data give knowledge about other data.

8 0
4 years ago
Which of the following is NOT an argument used to determine how a shot is fired from an A. object the shot itself being instanti
Firdavs [7]
C. The color of the shot...
7 0
3 years ago
Edmentum Plato Course - Learning in A Digital World: Strategies for Success
jeyben [28]

Answer:

A

Explanation:

The information was written recently or has been updated recently.

6 0
3 years ago
Python
Viefleur [7K]

Answer:

HH

Explanation:

5 0
3 years ago
Other questions:
  • What possible reason would explain why you are unable to connect to the intranet site on your computer’s web server, using a bro
    13·1 answer
  • A TCP entity opens a connection and uses slow start. Approximately how many round-trip times are required before TCP can send N
    11·1 answer
  • What are examples of people who own the copyrights of their property? Check all that apply.
    10·2 answers
  • The tools that cyber criminals often use, including computer viruses, worms, trojan horses and spyware, are called __________. q
    5·1 answer
  • How do you represent the decimal integer 50 in binary?
    14·1 answer
  • On the Design tab, which group allows you to select a different data set for a chart?
    7·2 answers
  • What is the output of the following program segment? int main() { int num = 5; cout &lt;&lt; num &lt;&lt;" "; change(num); cout
    8·1 answer
  • Malware is any malicious software installed on a computer or network without the owner’s knowledge.
    10·1 answer
  • How can a user remove or delete a Pivot Table?
    8·1 answer
  • When a derived class method has the same name as a base class method, it is often said that the derived class method ________ th
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!