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

    Refer to the following array:

    Let arr1 =[ 1, 2, 3, 4, 5 ]; Which two lines of code result in a second array, arr2 being created such that arr2 is not a reference to arr1?

    A. Let arr2 = arr1.slice(0, 5);
    B. Let arr2 = Array.from(arr1);
    C. Let arr2 = arr1;
    D. Let arr2 = arr1.sort();

  • Question 82:

    A developer is debugging a web server that uses Node.js The server hits a runtime error every 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 the server'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.js
    B. Node --inspect-brk index.js
    C. Node inspect index.js
    D. Node --inspect index.js

  • Question 83:

    Which two options are core Node.js modules? Choose 2 answers

    A. worker
    B. isotream
    C. exception
    D. http

  • Question 84:

    Given the following code:

    document.body.addEventListener(` click ', (event) => {

    if (/* CODE REPLACEMENT HERE */) {

    console.log(`button clicked!');

    )

    });

    Which replacement for the conditional statement on line 02 allows a developer to correctly determine that a button on page is clicked?

    A. Event.clicked
    B. e.nodeTarget==this
    C. event.target.nodeName == `BUTTON'
    D. button.addEventListener(`click')

  • Question 85:

    Which three actions can be using the JavaScript browser console?

    Choose 3 answers:

    A. View and change DOM the page.
    B. Display a report showing the performance of a page.
    C. Run code that is not related to page.
    D. view , change, and debug the JavaScript code of the page.
    E. View and change security cookies.

  • Question 86:

    Refer to the code below:

    let car1 = new Promise((_ ,reject)=> setTimeout(reject,2000,"Car1 crashed in"));

    let car2 = new Promise(resolve => setTimeout(resolve,1500,"Car2 completed"));

    let car3 = new Promise(resolve => setTimeout(resolve,3000,"Car3 completed"));

    Promise.race([car1,car2,car3])

    .then(value=>{

    let result = `${value} the race.`;

    }).catch(err=>{

    console.log('Race is cancelled.',err);

    });

    What is the valueof result when promise.race execues?

    A. Car2 completed the race.
    B. PlaceHolder
    C. PlaceHolder
    D. PlaceHolder

  • Question 87:

    Refer tothe code below:

    function foo () {

    const a =2;

    function bat() {

    console.log(a);

    }

    return bar;

    }

    Why does the function bar have access to variable a ?

    A. Inner function's scope
    B. Hoisting
    C. Outer function's scope
    D. Prototype chain

  • Question 88:

    Refer to HTML below:

    The current status of an Order: In Progress

    . Which JavaScript statement changes thetext `In Progress' to `Completed' ?

    A. document.getElementById("status").Value = 'Completed' ;
    B. document.getElementById("#status").innerHTML = 'Completed' ;
    C. document.getElementById("status").innerHTML = 'Completed' ;
    D. document.getElementById(".status").innerHTML = 'Completed' ;

  • Question 89:

    Refer to the code below: Which replacement for the conditionalstatement on line 02 allows a developer to correctly determine that a specific element, myElement on the page had been clicked?

    A. event.target.id =='myElement'
    B. PlaceHolder
    C. PlaceHolder
    D. PlaceHolder

  • Question 90:

    Given the following code,what is the value of x? let x = `15' + (10 * 2);

    A. 35
    B. 50
    C. 1520
    D. 3020

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.