Free JS Institute JSA-41-01 Exam Questions

Become JS Institute Certified with updated JSA-41-01 exam questions and correct answers

Page:    1 / 32      
Total 160 Questions | Updated On: Jul 28, 2025
Add To Cart
Question 1

In the following code snippet, what line of code should be inserted to declare a method named showInfo that outputs the string "Hi" to the console?class A { // insert code here}let a = new A();console.log(a.showInfo()); 


Answer: B
Question 2

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); 


Answer: C
Question 3

What expression will return true if 1. let shape1 = {x: 10, y: 20} and 1. let shape2 = {x: 10, y: 20} have the same property values?


Answer: B
Question 4

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 }`) 


Answer: A
Question 5

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; 


Answer: C
Page:    1 / 32      
Total 160 Questions | Updated On: Jul 28, 2025
Add To Cart

© Copyrights DumpsCertify 2025. All Rights Reserved

We use cookies to ensure your best experience. So we hope you are happy to receive all cookies on the DumpsCertify.