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
schepotkina [342]
1 year ago
8

if chooseactivity is a javascript promise object that returns a string value, which code should you use to initiate this promise

?
Computers and Technology
1 answer:
Anna11 [10]1 year ago
5 0

if chooseactivity is a JavaScript promise object that returns a string value, the code you should use to initiate this promise is:

chooseActivity

.then(choiceMsɡ => console.log(choiceMsɡ))

.then(choiceMsɡ => console.log(choiceMsɡ));

<h3>What is JavaScript?</h3>

When building websites, applications, servers, and even video games, web developers frequently use the lightweight programming language JavaScript to create more dynamic interactions.

Along with HTML and CSS, developers typically use JavaScript. In order to format HTML elements, the scripting language works well with CSS. User interaction is still maintained by JavaScript despite CSS's inability to do so.

It is worthwhile to learn JavaScript because it is used in the creation of websites, mobile applications, and video games. You can do this by using educational websites like BitDegree or by investigating free JavaScript applications and templates on websites that host source code, like GitHub.

Learn more about JavaScript

brainly.com/question/16698901

#SPJ4

You might be interested in
Magnetic field strength in an ignition coil is measured in what units?
kolbaska11 [484]
If you meant hertz in d then yes d would be correct
. <span />
3 0
3 years ago
Read 2 more answers
What happens when a filter is applied to a database?
Genrish500 [490]
Hello there.

<span>What happens when a filter is applied to a database?

</span><span>Some records are permanently removed from the database.
</span>
5 0
3 years ago
A sensitivity analysis is another name for what analysis
erastova [34]
<span>another name for what-if analysis   (that what is is called "what-if analysis" </span>
5 0
3 years ago
John would like to move from the suburbs into the city, but the rent in the city is very high. John has found an apartment he re
maxonik [38]

A list of multiple choices is given;

<span>a)      </span>Purchase a home in the city center instead.

<span>b)      </span>Rent the apartment anyway.

<span>c)       </span>Rent the apartment with a roommate.

<span>d)      </span>Purchase a home in the suburbs instead.


The answer is (C)


John should look for an apartment and share it with a roommate. This will bring down rent expenses to 50% as both John and the roommate will be cost sharing the rent. If the rent expenses go down by 50%, he’ll be able to save an additional 10% and use it for other expenses.

4 0
3 years ago
Which lines of the code, marked by Q, are legally declared based on the scope of the variable?​
WINSTONCH [101]

inside a function or a block which is called local variables

4 0
2 years ago
Other questions:
  • A telephone-repair technician uses a meter to measure voltage on a phone line. This meter is an example of _____. hardware softw
    10·2 answers
  • Convert 234.43 (base 7) to base 10
    7·1 answer
  • What is the name of the amount of space between the content of a document and the edge of the page?
    13·1 answer
  • 1. What are the benefits and drawbacks of keeping separate journals for individual accounts?​
    8·1 answer
  • Write a program that outputs inflation rates for two successive years and whether the inflation is increasing or decreasing. Ask
    9·1 answer
  • Write a program that will add up the series of numbers: 99, 98, 97… 3, 2, 1. The program should print the running total as well
    13·1 answer
  • Any websites online to make $50 daily?​
    11·1 answer
  • What is open source software? ​
    8·1 answer
  • Tascake Gets Free Brainliest Because he didnt get it<br><br> Tascake Heres Brainliest
    6·2 answers
  • Ginny faced an application error while executing the recorder in opera. Which web browser is generally recommended to use with r
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!