Salesforce Certified JavaScript Developer Exam (JS-Dev-101) - Salesforce Exam Questions
Last updated on June 20, 2026
02 thie. fixsttane = "Zoha'y
os}
05 Perscn.prototype = [
06 jek: x => ‘Developer’
onde
09 const myFather = new Peracn():
10 const result = myFather.firstiame + ' * + myFather.jeb()
What is the value of result after line 10 executes?
to join the discussion
No discussions yet. Be the first to ask!
Delete Comment
Are you sure? This action cannot be undone.
01 setCurrentUrl();
02 console.log("The current URL is: " + url);
03
04 function setCurrentUrl() {
05 url = window.location.href;
06 }
What happens when the code executes?
to join the discussion
No discussions yet. Be the first to ask!
Delete Comment
Are you sure? This action cannot be undone.
01 function Person(name, email) {
02 this.name = name;
03 this.email = email;
04 }
05
06 const john = new Person('John', 'john@email.com');
07 const jane = new Person('Jane', 'jane@email.com');
08 const emily = new Person('Emily', 'emily@email.com');
09
10 let usersList = [john, jane, emily];
Which method can be used to provide a visual representation of the list of users and to allow sorting by the name or email attribute?
to join the discussion
No discussions yet. Be the first to ask!
Delete Comment
Are you sure? This action cannot be undone.
01 const sayHello = (name) => {
02 console.log('Hello ', name);
03 };
04
05 const world = () => {
06 return 'World';
07 };
08
09 sayHello(world);
This does not print "Hello World".
What change is needed?
to join the discussion
No discussions yet. Be the first to ask!
Delete Comment
Are you sure? This action cannot be undone.
02 fool 1, 03 bari 2 04 )
05 let output = [7#
08 output .push (something);
09 ) 10 11 conssie.tog (output):
What is the outpouf tlin e 117
to join the discussion
No discussions yet. Be the first to ask!
Delete Comment
Are you sure? This action cannot be undone.
Finish Practice?
Are you sure you want to finish? This will end your practice session.