Refer to the code:Given the code above, which three properties are set pet1? Choose 3 answers:
Answer(s): B,C,E
Refer to the code below:Let car1 = new Promise((_ , reject) =>setTimeout(reject, 2000, "car 1 crashed in" =>Let car2 =new Promise(resolve => setTimeout(resolve, 1500, "car 2 completed") Let car3 =new Promise(resolve => setTimeout(resolve, 3000, "car 3 completed") Promise.race(( car1, car2, car3)).then (value => (Let result = `$(value) the race.';)}.catch(arr => {console.log("Race is cancelled.", err);});What is the value of result when Promise.race executes?
Answer(s): B
Refer to the following code:Let sampleText = `The quick brown fox jumps';A developer needs to determine if a certain substring is part of a string. Which three expressions return true for the given substring ? Choose 3 answers
Answer(s): B,D,E
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:
Answer(s): A,D
Cloud Kicks has a class to represent items for sale in an online store, as shown below:Class Item{constructor (name, price){this.name = name;this.price = price;}formattedPrice(){return `s' + String(this.price);}}A new business requirement comes in that requests a ClothingItem class that should have all of the properties and methods of the Item class but will also have properties that are specific to clothes.Which line of code properly declares the clothingItem class such that it inherits from Item?
Answer(s): D
Post your Comments and Discuss Salesforce CRT-600 exam prep with other Community members:
Our website is free, but we have to fight against AI bots and content theft. We're sorry for the inconvenience caused by these security measures. You can access the rest of the CRT-600 content, but please register or login to continue.