A: Provide an expression that tests whether the x variable is equal to 10 or the y variable is equal to 20.
a. (x = 10) || (y = 20)
b. (x = 10) or (y = 20)
c. (x = 10) | (y = 20)
d. (x === 10) || (y === 20)
1 B:
Which method do you apply to create a new array based on calculations done to every item from an existing array?
a. forEach()
b. map()
c. transfer()
d. copy()
1 C:
Which method do you use to return the value of the first element in the array that passes a logical test?
a. find()
b. if()
c. while()
d. findIndex()