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

What is the output of the following code snippet?
class Shape{}; 
class Pyramid extends Shape{}; 
class SquareBasedPyramid extends Pyramid {}; 
let shape = new SquareBasedPyramid (); 
console.log(`${shapeinstance of Shape} ${shape instance of Pyramid } ${shape instance of SquareBasedPyramid }`) 

Options :
Answer: A

Question 2

What is the correct way to define an object "person" with properties "firstName", "lastName", and "age"?

Options :
Answer: A

Question 3

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 4

What is the value of property "y" in object "point2" after the following code is executed?
let point = {x: 100, y: 200}; 
let point2 = {...point}; 
point2.y = 300; 

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.