Question: Javascript 1.Two check that two conditions were both met what logical operator would you use? && ! || 2. A falsy value will be evaluated

Javascript

1.Two check that two conditions were both met what logical operator would you use?

&& ! <> ||

2. A "falsy" value will be evaluated as false. Which of the following is NOT a falsy value?

NaN
an empty string
null

negative infinity

3.

The difference between an equality check using == and === is...

== check equality loosly while === checks for equality and type.
== returns another conditional while === returns a boolean.
== can only be used on numeric types while === can be used on all types.

== works with all types while === only works on boolean types.

4.

When creating a for loop the loop control or counter variable...

cannot be used within the loop body.
must be named i, j, or k.
must be defined outside of the loop control structure.
is commonly named i, j, or k.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!