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.
Full question bank for this exam + 1,357+ others. Cancel anytime.
Join Premium10 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.
- 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
- ✓
- 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
- ✓
- 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
- ✓
- Question 4
________ represents a single database connection from a pool of connections.
- ✓
Connection
Correct - B
Dbpool
- C
Stproc
- D
Dbconnect
- ✓
- 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
- ✓
- 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));
- ✓
- Question 7
Which one of the following is not global function of Server-Side JavaScript?
- ✓
a) flush
Correct - B
removeResponseHeader
- C
debug
- D
redirect
- ✓
- Question 8
Which of the following statements is/are correct in context of Event Object ?
- It is event handler.
- It is window context.
- It generates automatically when an event occurs.
- 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
- Question 9
Which function is used to run the code asynchronously in JavaScript?
- ✓
startInterval
Correct - B
setInterval
- C
delay
- D
interval
- ✓
- 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
- ✓
More in ECAS Academy
Infosys Certified Salesforce Associate Architect Case Study
Infosys Certified Salesforce Sharing and Visibility Architect
Infosys Certified Salesforce Integration Architect
Pay once. Clear every cert this year.
One subscription, full Telegram channel access, every PDF posted during your membership.
- Full access to all 1,357+ certifications
- Monthly updated question banks
- Telegram private channel access
- Cancel anytime
- Everything in Monthly
- Save ₹2,100 vs monthly billing
- Priority answer key requests
- Best for increasing DQ score fast
- Everything in Quarterly
- Lifetime channel access — no renewals
- All future certifications included
- Priority response from admin team
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.