لا تريد أن تفوت شيئا؟

نصائح اجتياز امتحان الشهادة

آخر أخبار الامتحانات ومعلومات الخصم

برعاية وحديثة من قبل خبرائنا

نعم، أرسل لي النشرة الإخبارية

خذ اختبارات أخرى عبر الإنترنت

السؤال #1
Refer to the code below: 01 let car1 = new promise((_, reject) => 02 setTimeout(reject, 2000, “Car 1 crashed in”)); 03 let car2 = new Promise(resolve => setTimeout(resolve, 1500, “Car 2 completed”)); 04 let car3 = new Promise(resolve => setTimeout (resolve, 3000, “Car 3 Completed”)); 05 Promise.race([car1, car2, car3]) 06 .then(value => ( 07 let result = $(value) the race. `; 08 )) 09 .catch( arr => ( 10 console.log(“Race is cancelled.”, err); 11 )); What is the value of result when Promise.race executes?
A. Car 3 completed the race
B. Car 1 crashed in the race
C. Car 2 completed the race
D. Race is cancelled
عرض الإجابة
اجابة صحيحة: C
السؤال #2
Refer to code below: Const objBook = { Title: 'Javascript', }; Object.preventExtensions(objBook); Const newObjBook = objBook; newObjectBook.author = 'Robert'; What are the values of objBook and newObjBook respectively ?
A. [title: "javaScript"] [title: "javaScript"]
B. {author: "Robert", title: "javaScript} Undefined
C. {author: "Robert", title: "javaScript} {author: "Robert", title: "javaScript}
D. {author: "Robert"} {author: "Robert", title: "javaScript}
عرض الإجابة
اجابة صحيحة: A
السؤال #3
Refer to the code below: for(let number =2 ; number <= 5 ; number += 1 ) { // insert code statement here } The developer needs to insert a code statement in the location shown. The code statement has these requirements: 1. Does require an import 2. Logs an error when the boolean statement evaluates to false 3. Works in both the browser and Node.js Which meet the requirements?
A. assert (number % 2 === 0);
B. console
C. console
D. console
عرض الإجابة
اجابة صحيحة: B
السؤال #4
A developer needs to test this function: 01 const sum3 = (arr) => ( 02 if (!arr.length) return 0, 03 if (arr.length === 1) return arr[0], 04 if (arr.length === 2) return arr[0] + arr[1], 05 return arr[0] + arr[1] + arr[2], 06 ); Which two assert statements are valid tests for the function? Choose 2 answers
A. console
B. console
C. console
D. console
عرض الإجابة
اجابة صحيحة: AC
السؤال #5
Which statement phrases successfully?
A. JSON
B. JSON
C. JSON
D. JSON
عرض الإجابة
اجابة صحيحة: D
السؤال #6
A developer wrote a fizzbuzz function thatwhen passed in a number, returns the following: 'Fizz' if the number is divisible by 3. 'Buzz' if the number is divisible by 5. 'Fizzbuzz' if the number is divisible by both 3 and 5. Empty string if the number is divisible by neither 3 or 5. Whichtwo test cases will properly test scenarios for the fizzbuzz function? Choose 2 answers
A. let res = fizzbuzz(5);console
B. let res = fizzbuzz(3);console
C. let res = fizzbuzz(15);console
D. let res = fizzbuzz(Infinity);console
عرض الإجابة
اجابة صحيحة: BCD
السؤال #7
A developer writers the code below to calculate the factorial of a given number. Function factorial(number) { Return number + factorial(number -1); } factorial(3); What is the result of executing line 04?
A. 0
B. 6
C. -Infinity
D. RuntimeError
عرض الإجابة
اجابة صحيحة: D
السؤال #8
Refer to the code below: for(let number =2 ; number <= 5 ; number += 1 ) { // insert code statement here } The developer needs to insert a code statement in the location shown. The code statement has these requirements: 1. Does require an import 2. Logs an error when the boolean statement evaluates to false 3. Works in both the browser and Node.js Which meet the requirements?
A. assert (number % 2 === 0);
B. console
C. console
D. console
عرض الإجابة
اجابة صحيحة: B
السؤال #9
Refer to the following code: What is the output of line 11?
A. ["foo:1", "bar:2"]
B. [1,2]
C. ["foo", "bar"]
D. ["bar", "foo"]
عرض الإجابة
اجابة صحيحة: C
السؤال #10
A developer needs to test this function: 01const sum3 = (arr) => ( 02if (!arr.length) return 0, 03if (arr.length === 1) return arr[0], 04if (arr.length === 2) return arr[0]+ arr[1], 05 return arr[0] + arr[1] + arr[2], 06 ); Which two assert statements are valid tests for the function? Choose 2 answers
A. console
B. console
C. console
D. console
عرض الإجابة
اجابة صحيحة: BC
السؤال #11
Refer to code below: Let productSKU = '8675309' ; A developer has a requirement to generate SKU numbers that are always 19 characters lon, starting with 'sku', and padded with zeros. Which statement assigns the values sku0000000008675309 ?
A. productSKU = productSKU
B. productSKU = productSKU
C. productSKU = productSKU
D. productSKU = productSKU
عرض الإجابة
اجابة صحيحة: B
السؤال #12
Refer to the code below: 01 let car1 = new promise((_, reject) => 02 setTimeout(reject, 2000, “Car 1 crashed in”)); 03 let car2 = new Promise(resolve => setTimeout(resolve, 1500, “Car 2 completed”)); 04 let car3 = new Promise(resolve => setTimeout (resolve, 3000, “Car 3 Completed”)); 05 Promise.race([car1, car2, car3]) 06 .then(value => ( 07 let result = $(value) the race. `; 08 )) 09 .catch( arr => ( 10 console.log(“Race is cancelled.”, err); 11 )); What is the value of result when Promise.race executes?
A. Car 3 completed the race
B. Car 1 crashed in the race
C. Car 2 completed the race
D. Race is cancelled
عرض الإجابة
اجابة صحيحة: C
السؤال #13
A developer needs to test this function: 01 const sum3 = (arr) => ( 02 if (!arr.length) return 0, 03 if (arr.length === 1) return arr[0], 04 if (arr.length === 2) return arr[0] + arr[1], 05 return arr[0] + arr[1] + arr[2], 06 ); Which two assert statements are valid tests for the function? Choose 2 answers
A. console
B. console
C. console
D. console
عرض الإجابة
اجابة صحيحة: AC
السؤال #14
Which statement phrases successfully?
A. JSON
B. JSON
C. JSON
D. JSON
عرض الإجابة
اجابة صحيحة: D
السؤال #15
A developer creates an object where its properties should be immutable and prevent properties from being added or modified. Which method should be used to execute this business requirement ?
A. Object
B. Object
C. Object
D. Object
عرض الإجابة
اجابة صحيحة: D
السؤال #16
A developer is asked to fix some bugs reported by users. To do that, the developer addsabreakpoint for debugging.Function Car (maxSpeed, color){This.maxspeed =masSpeed;This.color = color;Let carSpeed = document.getElementById(' CarSpeed');Debugger;Let fourWheels =new Car (carSpeed.value, 'red');When the code execution stops at the breakpoint on line 06, which two types of information areavailable in the browser console ?Choose 2 answers:
A. The values of the carSpeed and fourWheels variables
B. A variable displaying the number of instances created for the Car Object
C. The style, event listeners and other attributes applied to the carSpeed DOM element
D. The information stored in the window
عرض الإجابة
اجابة صحيحة: CD
السؤال #17
Refer to code below: Let productSKU = '8675309' ; A developer has a requirement to generate SKU numbers that are always 19 characters lon, starting with 'sku', and padded with zeros. Which statement assigns the values sku0000000008675309 ?
A. productSKU = productSKU
B. productSKU = productSKU
C. productSKU = productSKU
D. productSKU = productSKU
عرض الإجابة
اجابة صحيحة: B
السؤال #18
A developer wants to define a function log to be used a few times on a single-file JavaScript script.01 // Line 1 replacement02 console.log('"LOG:', logInput);03 }Which two options can correctly replaceline 01 and declare the function for use?Choose 2 answers
A. function leg(logInput) {
B. const log(loginInput) {
C. const log = (logInput) => {
D. function log = (logInput) {
عرض الإجابة
اجابة صحيحة: AC
السؤال #19
A developer is debugging a web server that uses Node.js The server hits a runtimeerrorevery third request to an important endpoint on the web server.The developer added a break point to the start script, that is at index.js at he root of theserver's source code. The developer wants to make use of chrome DevTools to debug.Which command can be run to access DevTools and make sure the breakdown is hit ?
A. node -i index
B. Node --inspect-brk index
C. Node inspect index
D. Node --inspect index
عرض الإجابة
اجابة صحيحة: D
السؤال #20
developer wants to use a module named universalContainersLib and them callfunctions from it. How should a developer import every function from the module and then call the functions foo and bar ?
A. import (foo, bar) from '/path/universalContainersLib
B. import * from '/path/universalContaineraLib
C. import * ad lib from '/path/universalContainersLib
D. import all from '/path/universalContaineraLib
عرض الإجابة
اجابة صحيحة: C
السؤال #21
Refer to the code declarations below:Which three expressions return the string JavaScript?Choose 3 answers
A. Str1
B. Str1
C. Concat (str1, str2);
D. $(str1) $ (str2} ';
E. Str1 + str2;
عرض الإجابة
اجابة صحيحة: BDE
السؤال #22
Given the JavaScript below: 01 function filterDOM (searchString) { 02 const parsedSearchString = searchString && searchString.toLowerCase() ; 03 document.quesrySelectorAll(' .account' ) . forEach(account => ( 04 const accountName = account.innerHTML.toLOwerCase(); 05 account. Style.display = accountName.includes(parsedSearchString) ? /*Insert code*/; 06 )}; 07 } Which code should replace the placeholder comment on line 05 to hide accounts that do not match the search string?
A. ' name ' : ' block '
B. ' hidden ' : ' visible '
C. ' visible ' : ' hidden '
D. ' Block ' : ' none '
عرض الإجابة
اجابة صحيحة: D
السؤال #23
A developer creates an object where its properties should be immutable and preventproperties from being added or modified.Which method should be used to execute this businessrequirement ?
A. Object
B. Object
C. Object
D. Object
عرض الإجابة
اجابة صحيحة: D

View The Updated Salesforce Exam Questions

SPOTO Provides 100% Real Salesforce Exam Questions for You to Pass Your Salesforce Exam!

عرض الإجابات بعد التقديم

يرجى إرسال البريد الإلكتروني الخاص بك والواتس اب للحصول على إجابات الأسئلة.

ملحوظة: يرجى التأكد من صلاحية معرف البريد الإلكتروني وWhatsApp حتى تتمكن من الحصول على نتائج الاختبار الصحيحة.

بريد إلكتروني:
رقم الواتس اب/الهاتف: