HomeExamsECAS AcademyTETAECASFCIC2014
TETAECASFCIC2014

Infosys Certified Salesforce JavaScript Developer

Practice with real exam-pattern questions for Infosys Certified Salesforce JavaScript Developer. Each question includes a detailed explanation to help you understand the concept, not just memorise the answer. Try 10 questions free — no login required.

BeginnerECAS Academy45 min
Free questions

10 Infosys Certified Salesforce JavaScript Developer practice questions with answers

Real Lex exam-pattern multiple-choice questions for the Infosys Certified Salesforce JavaScript Developer certification. Each question includes the correct answer. The full question bank is available to Premium members.

  1. Question 1

    Which of the following statements sorts collection array mentioned below in ascending order?

    const collection = [1,9,6,2,5];

    • collection. sort ();

      Correct
    • B

      collection. sort ((num1, num2) => num1 – num2);

    • C

      collection. sort ((num1, num2) => num2 – num1);

    • D

      None of above

  2. Question 2

    What will be the output of the below code ?

    let a=0.1;

    a-0.2;

    console.log(0.1+0.2+a);

    • 0.3

      Correct
    • B

      0.30000000000000004

    • C

      0.5

    • D

      0.4

  3. Question 3

    Choose the correct one:

    • You can access the Promise properties state and result

      Correct
    • B

      You must use the Promise method to handle promises

    • C

      Promise.then() takes two arguments, one for success and another for failure

    • D

      Success and failure arguments of Promise.then() is required always

  4. Question 4

    ________ represents a single database connection from a pool of connections.

    • Connection

      Correct
    • B

      Dbpool

    • C

      Stproc

    • D

      Dbconnect

  5. Question 5

    Which of the following is correct about Server-Side JavaScript?

    • It extends the core language by supplying objects to control a browser and its Document Object Model

      Correct
    • B

      It extends the core language by supplying objects relevant to running JavaScript on a server

    • C

      Server-Side extensions allow an application to communicate with a relational database

    • D

      Server-Side extension allow an application to place elements on an HTML form and respond to user events

  6. Question 6

    Joey has few user agents values. He wants to check whether the browser is using modified version of HTML to show on smaller screen or not. How can he check this?

    • Platform.Response.Write(Platform.Function.IsHTMLBrowser(Platform.Request.UserAgent));

      Correct
    • B

      Platform.Response.Write(Platform.Function.IsCHTMLBrowser(Platform.Request.UserAgent));

    • C

      Platform.Response.Write(Platform.Function.IsMVHTMLBrowser(Platform.Request.UserAgent));

    • D

      Platform.Response.Write(Platform.Function.IsDHTMLBrowser(Platform.Request.UserAgent));

  7. Question 7

    Which one of the following is not global function of Server-Side JavaScript?

    • a) flush

      Correct
    • B

      removeResponseHeader

    • C

      debug

    • D

      redirect

  8. Question 8

    Which of the following statements is/are correct in context of Event Object ?

    1. It is event handler.
    2. It is window context.
    3. It generates automatically when an event occurs.
    4. It can be accessed in the event handler as a parameter.

    • Only 3

      Correct
    • B

      Both 3 and 4

    • C

      Both 1 and 3

    • D

      Only 2

    • E

      1,3 and 4

  9. Question 9

    Which function is used to run the code asynchronously in JavaScript?

    • startInterval

      Correct
    • B

      setInterval

    • C

      delay

    • D

      interval

  10. Question 10

    What will be the output of following code?

    a='null';

    if(a==null){console.log(1);}

    if(a!=null){console.log(2);}

    if(a!==null){console.log(3);}

    if(a===null){console.log(4);}

    • 1 4

      Correct
    • B

      2 3

    • C

      1 2

    • D

      2

    • E

      3

Pricing

Pay once. Clear every cert this year.

One subscription, full Telegram channel access, every PDF posted during your membership.

Monthly
50% OFF
₹1,300₹2,600
Per month · cancel anytime
  • Full access to all 1,357+ certifications
  • Monthly updated question banks
  • Telegram private channel access
  • Cancel anytime
Get Monthly
POPULAR
Quarterly
44% OFF
₹1,800₹3,200
That's ₹600/mo · billed for 3 months
  • Everything in Monthly
  • Save ₹2,100 vs monthly billing
  • Priority answer key requests
  • Best for increasing DQ score fast
Get Quarterly
BEST VALUE
Lifetime
52% OFF
₹2,400₹5,000
One-time · lifetime access
  • Everything in Quarterly
  • Lifetime channel access — no renewals
  • All future certifications included
  • Priority response from admin team
Get Lifetime
FAQ

Common questions, straight answers.

A monthly-updated Telegram channel where we post real exam-pattern question banks and detailed answer keys for 1,357+ Infosys Lex certifications. You join once, you get every PDF posted during your membership.

Right after payment on our Graphy page, you'll receive a private invite link to the Telegram channel. Access is instant — usually under 30 seconds.

We compile question banks from the actual Lex test pattern, sourced and verified by 180K+ community members who've recently cleared these exams. Match rate is consistently 85–95%.

Every single month. When Infosys rolls out new versions of certifications, we post updated dumps within 7–10 days. You'll see channel activity weekly.

Clearing certifications is one of the highest-weighted DQ factors. Members typically clear 3–5 certifications in their first 3 months, which moves DQ scores up by a full band.

i
InfyLexDumps

Independent exam preparation platform for Infosys Lex certifications. Real exam-pattern question banks, monthly updates, 180K+ community members.

Join Premium Telegram
Contact
  • @prepflixadmin
  • admin@prepflix.net
This platform is an independent educational resource and is not affiliated with or endorsed by Infosys Ltd. All certification names referenced are property of their respective owners.
© 2026 InfyLexDumps
Join Premium Telegram