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
Write the declaration statement for a two-dimensional array X of integers with five rows and five columns that accepts 25 intege
madreJ [45]

Answer:

int[ ][ ] X = new int[5][5];

It can also be declared and initialized this way:

  int[][] X = {

               {1,2,3,6,8},

               {4, 5, 6, 9},

               {7,5,6,8,9},

               {8,5,8,8,9},

               {10,2,6,8,11},

       };

Explanation:

Above is a declaration of a two-dimensional array that can hold 5*5=25 int values. A java program is given below:

public class JavaTwoD{

   public static void main(String args[ ]) {

       // creating the 5X5 array

       int[ ][ ] X = new int[5][5];

       // looping through the array to add elements

       for (int i = 0; i < X.length; i++) {

           for (int j = 0; j < X[i].length; j++) {

               X[i][j] = i * j;

           }

       }

5 0
3 years ago
Due to the wildfires in Australia, the Red Cross has asked for assistance in determining how many trees were destroyed per hecta
kobusy [5.1K]

Answer:

1.trees_destroyed_per_hectare = 456/2.47  

2. input(no_of_hectares)  

3. no_of_trees_destroyed =no_of_hectares * trees_destroyed_per_hectare

4. print(no_of_trees_destroyed)

Explanation:

1.trees_destroyed_per_hectare = 456/2.47  //conversion of tress destroyed   per acres to hectare

2. input(no_of_hectares)  // get input from user in hectares that how many hectares are destroyed

3. no_of_trees_destroyed =no_of_hectares * trees_destroyed_per_hectare // total number of trees destroyed by fire on given day and given area

4. print(no_of_trees_destroyed)

7 0
3 years ago
The common denominator for decisions on service processes is_______
frez [133]

Answer:

Customer Contact

Explanation:

Customer contact can be defined as the presence and availability of the customer not just in the system but also when a service is being created; it also refers to the work process that is involved in providing the service itself.

The most important dimension of customer contact is that it used in making decisions that enhances customer-organizational relationship.

3 0
3 years ago
What is inputted into a computer system?
Anna [14]

Answer:

Hey mate.....

Explanation:

This is ur answer.....

<em>Input refers to any information, or data, that is sent to a computer for processing. Input is often sent to the computer from a device such as a keyboard, mouse, or other input device. Putting it simple, input is the act of entering data into a computer.</em>

<em />

Hope it helps!

Mark me brainliest....

FOLLOW ME!!!! :)

4 0
3 years ago
By the 1970s, the acceleration of airplane travel led to fears that an epidemic would leapfrog the globe much faster than the pa
kramer

Answer:

b. the HIV infection.

Explanation:

Around the 1970s, an increase in the use of airplane travel led to fears that an epidemic would leapfrog the globe much faster than the pandemics such as tuberculosis, leprosy, smallpox, trachoma, anthrax, scabies, etc., that were evident during the Middle Ages, fears that were later confirmed by the worldwide spread of the HIV infection, beginning in the 1970s in the United States of America.

STD is an acronym for sexually transmitted disease and it can be defined as diseases that are easily transmissible or contractable from another person through sexual intercourse. Thus, STD spread from an infected person to an uninfected person while engaging in unprotected sexual intercourse. Some examples of STDs are gonorrhea, chlamydia, syphilis, HIV, etc.

HIV is an acronym for human immunodeficiency virus and it refers to a type of disease that destabilizes or destroy the immune system of a person, thus, making it impossible for antigens to effectively fight pathogens.

Generally, contracting STDs has a detrimental effect to a patient because it causes an opening (break) or sore in the body of the carrier (patient) and as such making them vulnerable to diseases that are spread through bodily fluids e.g human immunodeficiency virus (HIV), Hepatitis, staphylococcus, AIDS, etc.

4 0
3 years ago
Other questions:
  • Use the Web to search for different ways to share an Access database, such as the one for Colonial Adventure Tours, with others
    7·1 answer
  • In public-key encryption, the two keys–one for coding and one for decoding–are known as ________.
    6·1 answer
  • What kind of security features does Microsoft Security Analyzer promise?
    5·1 answer
  • You are the administrator for a small company. You need to create a new group for users in the sales department. You need to nam
    14·1 answer
  • Write code that prompts for three integers, averages them, and prints the average. Make your code robust against invalid input;
    7·1 answer
  • If you were any type of fnaf charater who would you be and why?
    10·2 answers
  • Discuss the technologies that implements an infrastructure for component communication
    7·1 answer
  • Sound technology has been influenced the most by the ___.
    5·2 answers
  • Computer that process digital as well as analogue signals​
    11·1 answer
  • 3. When code tracing, why is it important to iteratively test parts of the program?
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!