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
svp [43]
3 years ago
13

What is the console.log function for?​

Computers and Technology
1 answer:
Nookie1986 [14]3 years ago
3 0

Answer:

to print any kind of variables defined before in it or to just print any message that needs to be displayed to the user

Explanation:

You might be interested in
A card ____ is a device that reads data, instructions, and information stored on flash memory cards.
Blizzard [7]
Reader/Writer I suppose would work?
7 0
3 years ago
5.11 LAB: Print string in reverse [JAVA]:
ss7ja [257]

Answer:

This article discusses different ways to reverse a string in Java with examples.

8 0
2 years ago
Why linked list is better than an array?
katrin [286]
In conclusion there are many different data structures. Each data structure has strengths and weaknesses which affect performance depending on the task. Today, we explored two data structures: arrays and linked lists. Arrays allow random access and require less memory per element (do not need space for pointers) while lacking efficiency for insertion/deletion operations and memory allocation. On the contrary, linked lists are dynamic and have faster insertion/deletion time complexities. However, linked list have a slower search time and pointers require additional memory per element in the list. Figure 10 below summarizes the strength and weakness of arrays and linked lists.
8 0
3 years ago
What setting in Word keeps single lines of a new
Gre4nikov [31]

Answer:

C (Window/Orphan control)

Explanation:

An "orphan" in formatting is a single line of text that is left alone/separated from the rest of the paragraph. Orphan control prevents this from happening by keeping lines together.

3 0
4 years ago
The ____ operator executes one of two expressions based on the results of a conditional expression. Group of answer choices
Mars2501 [29]

Corrected or Complet Question

The ____ operator executes one of two expressions based on the results of a conditional expression.

a. .

b. ( )

c. ,

d. ?:

Answer:

(d) ? :

Explanation:

The ternary operator (? :) is an operator that executes one out of two expressions based on the results of a conditional expression. It is a faster or shorthand way of writing an if ... else statement. The operator checks the conditional expression and depending on whether it is true or false, one of its two statements will be executed. For example:

 String correct = (4 < 5) ? "yes" : "no" ;

In the code above,

i. the conditional statement is (4 < 5) and this will be tested for to return true or false.

ii. the first expression (the one after the ?) is "yes" which will be executed if the conditional statement returns true.

iii. and the second expression (the one after the : ) is "no" which will be executed if the conditional statement returns false.

Therefore, since the conditional expression returns true for 4 < 5, the first expression will be executed. i.e "yes". This means that the String variable <em>correct </em> will have a value of "yes".

8 0
3 years ago
Read 2 more answers
Other questions:
  • For film editors, which task comes last in their workflow pattern?
    12·2 answers
  • ________ software helps run the computer and coordinates instructions between other software and the hardware devices.
    7·1 answer
  • Which of the following lists contains the five essential elements of a computer?
    5·1 answer
  • What two optical disc drive standards support writing discs with a total capacity of 8.5gb?
    12·1 answer
  • Uploading is the process of transferring existing content stored on a server or other computer or device to your device via a ne
    8·1 answer
  • which software is used to mimic intricate hand drawings into digital paintings? _____ is used to replicate hand drawings into di
    7·1 answer
  • Memory management is concerned with __________.
    14·1 answer
  • Which of these techniques will contribute to green computing?
    10·1 answer
  • What is the minimum number of bits needed to store the decimal value 200?
    12·1 answer
  • Enter a formula in cell C13 to look up the registration fee for the first vehicle. Use the vehicle type in cell C4 as the Lookup
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!