JAVASCRIPT-DEVELOPER-I Exam Details

  • Exam Code
    :JAVASCRIPT-DEVELOPER-I
  • Exam Name
    :Salesforce Certified JavaScript Developer (JS-Dev-101)
  • Certification
    :Salesforce Certifications
  • Vendor
    :Salesforce
  • Total Questions
    :223 Q&As
  • Last Updated
    :Jul 04, 2026

Salesforce JAVASCRIPT-DEVELOPER-I Online Questions & Answers

  • Question 211:

    Refer to the code below:

    01 const exec = (item, delay) =>{

    02 newPromise(resolve => setTimeout( () => resolve(item), delay)),

    03 async function runParallel() {

    04 Const (result1, result2, result3) = await Promise.all{ 05 [exec (`x', `100') , exec(`y', 500), exec(`z', `100')]

    06 );

    07 return `parallel is done: $(result1)$(result2)$(result3)`;

    08 }

    }

    }

    Which two statements correctly execute the runParallel () function?

    Choose 2 answers

    A. Async runParallel () .then(data);
    B. runParallel ( ). done(function(data){ return data; });
    C. runParallel () .then(data);
    D. runParallel () .then(function(data) return data

  • Question 212:

    A developer uses a parsed JSON string to work with user information as in the block below:

    01 const user Information ={

    02 " id " : "user-01",

    03 "email" : "[email protected]",

    04 "age" : 25

    Which two options access the email attribute in the object?

    Choose 2 answers

    A. userInformation("email")
    B. userInformation.get("email")
    C. userInformation.email
    D. userInformation(email)

  • Question 213:

    Given the HTML below:

    Which statement adds the priority-account css class to the Applied Shipping row?

    A. document.querySelector('#row-as').classList.add('priority-account');
    B. PlaceHolder
    C. PlaceHolder
    D. PlaceHolder

  • Question 214:

    Refer to the code below:

    Line 05 causes an error.

    What are the values of greeting and salutation once code completes?

    A. Greeting is Hello and salutation is Hello, Hello.
    B. Greeting is Goodbye and salutation isHello, Hello.
    C. Greeting is Goodbye and salutation is I say Hello.
    D. Greeting is Hello and salutation is I say hello.

  • Question 215:

    Developer removes the HTML class attribute from the checkout button, so now it is simply:

    .

    There is a test to verify the existence of the checkout button, however it looks for a button with class= "blue". The test fails because no such button is found.

    Which type of test category describes this test?

    A. True positive
    B. True negative
    C. False positive
    D. False negative

  • Question 216:

    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 andand var2)
    B. var1 andand var2
    C. var1.toBoolean() andand var2toBoolean()
    D. Boolean(var1) andand Boolean(var2)

  • Question 217:

    A developer tries to retrieve all cookies, then sets a certain key value pair in the cookie. These statements are used:

    What is the behavior?

    A. Cookies are read, but the key value is not set because the value is not URL encoded.
    B. Cookies are not read because line 01 should be document, cookies, but the key value is set and all cookies are wiped.
    C. A Cookies are read and the key value is set, the remaining cookies are unaffected.
    D. Cookies are read and the key value is set, and all cookies are wiped.

  • Question 218:

    Refer to code below:

    Let first = `who';

    Let second = `what';

    Try{

    Try{

    Throw new error(`Sad trombone');

    }catch (err){

    First ='Why';

    }finally {

    Second ='when';

    } catch(err) {

    Second ='Where';

    }

    What are the values for first and second once the code executes ?

    A. First is Who and second is When
    B. First is why and second is where
    C. First is who and second is where
    D. First is why and second is when

  • Question 219:

    A developer writes the code below to calculate the factorial of a given number

    function sum(number){

    return number * sum(number-1);

    }

    sum(3);

    what is the result of executing the code.

    B. 6
    C. Error
    D. -Infinity

  • Question 220:

    Refer to the code below:

    Which value can a developer expect when referencing country,capital,cityString?

    A. 'London'
    B. undefined
    C. An error
    D. 'NaN'

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Salesforce exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your JAVASCRIPT-DEVELOPER-I exam preparations and Salesforce certification application, do not hesitate to visit our Vcedump.com to find your solutions here.