subject

Answer the following questions:
1. what is the value of foo?
var foo = 10 + '20';
2. what will be the output of the code below?
console. log(0.1 + 0.2 == 0.3);
3. how would you make this work?
add(2, 5); // 7 add(2)(5); // 7
4. what value is returned from the following statement?
"i'm a lasagna hog".split("").("");
5. what is the value of window. foo?
( window. foo || ( window. foo = "bar" ) );
6. what is the outcome of the two alerts below?
var foo = "hello"; (function() { var bar = " world"; alert(foo + bar); }; alert(foo + bar);
7. what is the value of foo. length?
var foo = []; foo. push(1); foo. push(2);
8. what is the value of foo. x?
var foo = {n: 1}; var bar = foo; foo. x = foo = {n: 2};
9. what does the following code print?
console. log('one'); settimeout(function() { console. log('two'); }, 0); promise.(function() { console. log('three'); }) console. log('four');
10. what is the difference between these four promises?
(function () { return dosomethingelse(); }); (function () { dosomethingelse(); }); (; (dosomethingelse);

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 11:00
Which action is good business etiquette? a. switching your cell phone off before you enter a meeting b. keeping your cell phone on low volume before you enter a meeting c. setting a pleasant ring tone on your cell phone before you enter a meeting d. setting a standard ringtone on your cell phone before you enter a meeting
Answers: 1
question
Computers and Technology, 23.06.2019 02:00
As with any small island country, cuba has fewer natural resources than countries such as brazil. this affects their economy in that cuba a) exports only manufactured products. b) exports more products than it imports.. c) must import more products than it exports. d) has imposed trade barriers against the united states.
Answers: 3
question
Computers and Technology, 23.06.2019 14:00
Need ! will choose brainliest! discuss the role of abstraction in the history of computer software.
Answers: 1
question
Computers and Technology, 23.06.2019 20:30
Column a of irma’s spreadsheet contains titles for each row, but her document is too big and will be printed three pages across. she wants to be sure that every page will be understood. what can irma do to with this problem?
Answers: 3
You know the right answer?
Answer the following questions:
1. what is the value of foo?
var foo = 10 + '20';
Questions
question
Biology, 14.11.2020 07:30
question
Mathematics, 14.11.2020 07:30
question
English, 14.11.2020 07:30
question
Mathematics, 14.11.2020 07:30
question
Mathematics, 14.11.2020 07:30
Questions on the website: 13722367