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 11:

    Refer to the code below:

    Const resolveAfterMilliseconds = (ms) => Promise.resolve (

    setTimeout ((=> console.log(ms), ms ));

    Const aPromise = await resolveAfterMilliseconds(500);

    Const bPromise = await resolveAfterMilliseconds(500);

    Await aPromise, wait bPromise;

    What is the result of running line 05?

    A. aPromise and bPromise run sequentially.
    B. Neither aPromise or bPromise runs.
    C. aPromise and bPromise run in parallel.
    D. Only aPromise runs.

  • Question 12:

    developer publishes a new version of a package with new features that do not break backward compatibility. The previous version number was 1.1.3. Following semantic versioning format, what should the new package version number be?

    A. 2.0.0
    B. 1.2.3
    C. 1.1.4
    D. 1.2.0

  • Question 13:

    Refer to the following code that performs a basic mathematical operation on a provided input:

    function calculate(num) {

    Return (num +10) / 3;

    }

    How should line 02 be written to ensure that x evaluates to 6 in the line below? Let x = calculate (8);

    A. Return Number((num +10) /3 );
    B. Return (Number (num +10 ) / 3;
    C. Return Integer(num +10) /3;
    D. Return Number(num + 10) / 3;

  • Question 14:

    Refer to the code:

    Given the code above, which three properties are set for pet1? Choose 3 answers

    A. name
    B. owner
    C. type
    D. canTalk
    E. size

  • Question 15:

    myArraym canhave one level, two levels, or more levels. Which statement flattens myArray when it can be arbitrarily nested?

    A. myArray. reduce ((prev, curr) => prev.concat(curr) [ ]);
    B. myArray. join (","). split (",");
    C. [ ] .concat {. . .myArray) ;
    D. myArray.flat(Infinity);

  • Question 16:

    developer is trying to convince management that their team will benefit from using Node.js for a backend server that they are going to create. The server will be a web server that handles API requests from a websitethat the team has already

    built using HTML, CSS, and JavaScript.

    Which three benefits of Node.js can the developer use to persuade their manager?

    Choose 3 answers:

    A. Installs with its own package manager to install and manage third-party libraries.
    B. Ensures stability with one major release every few years.
    C. Performs a static analysis on code before execution to look for runtime errors.
    D. Executes server-side JavaScript code to avoid learning a new language.
    E. Uses non-blocking functionality for performant request handling .

  • Question 17:

    A developer has the following array of student test grades:

    Let arr = [ 7, 8, 5, 8, 9 ];

    The Teacher wants to double each score and then see an array of the students who scored more than 15 points.

    How should thedeveloper implement the request?

    A. Let arr1 = arr.filter(( val) => ( return val > 15 )) .map (( num) => ( return num *2 ))
    B. Let arr1 = arr.mapBy (( num) => ( return num *2 )) .filterBy (( val ) => return val > 15 )) ;
    C. Let arr1 = arr.map((num) => num*2). Filter (( val) => val > 15);
    D. Let arr1 = arr.map((num) => ( num *2)).filterBy((val) => ( val >15 ));

  • Question 18:

    Refer to the HTML below:

    • Leo
    • Tony
    • Tiger

    Which JavaScript statement results in changing " Tony" to "Mr. T."?

    A. document.querySelectorAll(`$main $TONY').innerHTML = ' Mr. T. ';
    B. document.querySelector(`$main li:second-child').innerHTML = ' Mr. T. ';
    C. document.querySelector(`$main li.Tony').innerHTML = ' Mr. T. ';
    D. document.querySelector(`$main li:nth-child(2)'),innerHTML = ' Mr. T. ';

  • Question 19:

    Refer to the code below:

    Function Person(firstName, lastName, eyecolor) {

    this.firstName =firstName;

    this.lastName = lastName;

    this.eyeColor = eyeColor;

    }

    Person.job = `Developer';

    const myFather = new Person(`John', `Doe');

    console.log(myFather.job);

    What is the output after the code executes?

    A. ReferenceError: eyeColor is not defined
    B. ReferenceError: assignment to undeclared variable "Person"
    C. Developer
    D. Undefined

  • Question 20:

    CORRECT TEXT Refer the following code

    what is the value of array after code executes?

    A. 1,2,3,5
    B. PlaceHolder
    C. PlaceHolder
    D. PlaceHolder

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.