Exam Code: JSA-41-01
Exam Questions: 160
JSA - Certified Associate JavaScript Programmer
Updated: 15 Apr, 2026
Viewing Page : 1 - 16
Practicing : 1 - 5 of 160 Questions
Question 1

What is the correct output of the following code:
var obj = {
  value: 10
};
var foo = function() {
  console.log(this.value);
};
var bar = function() {
  console.log(this.value);
};
var boundFoo = foo.call(obj);
var boundBar = bar.bind(obj)();
console.log(boundFoo === boundBar); 

Options :
Answer: C

Question 2

What will be the output when the following code is executed:
class Car { 
 _brand = ""; 
 set brand(value) { 
 this._brand = value; 
 } 
 get brand() { 
 return this._brand; 
 } 
let car = new Car(); 
car.brand = "Toyota"; 
console.log(car.brand) 

Options :
Answer: A

Question 3

The shape object can be converted to JSON format using the built-in command:

Options :
Answer: B

Question 4

What will be the output of the following code?
const a = { x: 1 };
const b = { y: 2 };
const c = { ...a, b, z: 3 };
console.log(c);

Options :
Answer: C

Question 5

What will be the value of x after the following code is executed?
let x = 10; 
function add5(num) {
 num += 5; 
 return num;
x = add5(x); 

Options :
Answer: C

Viewing Page : 1 - 16
Practicing : 1 - 5 of 160 Questions

© Copyrights FreePDFQuestions 2026. All Rights Reserved

We use cookies to ensure that we give you the best experience on our website (FreePDFQuestions). If you continue without changing your settings, we'll assume that you are happy to receive all cookies on the FreePDFQuestions.