Pre-Summer Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: validbest

Exam JavaScript-Developer-I All Questions
Exam JavaScript-Developer-I All Questions

View all questions & answers for the JavaScript-Developer-I exam

Salesforce Developer JavaScript-Developer-I Question # 60 Topic 7 Discussion

JavaScript-Developer-I Exam Topic 7 Question 60 Discussion:
Question #: 60
Topic #: 7

Given two expressions var1 and var2. What are two valid ways to return the logical AND

of the two expressions and ensure it is data type Boolean ?

Choose 2 answers:


A.

Boolean(var1 && var2)


B.

var1 && var2


C.

var1.toBoolean() && var2toBoolean()


D.

Boolean(var1) && Boolean(var2)


Get Premium JavaScript-Developer-I Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.