Exam JS-Dev-101 Topic 5 Question 145 Discussion

Actual exam question for Salesforce's JS-Dev-101 exam
Question #: 145
Topic #: 5
The developer has a function that prints "Hello" to an input name. To test this,thedeveloper created a function that returns "World". However the following snippet does not print " Hello World".

What can the developer do to change the code to print "Hello World" ?

Suggested Answer: A Vote an answer

by York at Jul 12, 2026, 03:48 AM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

0
0
0
10