Online Access Free CRT-600 Practice Test
| Exam Code: | CRT-600 |
| Exam Name: | Salesforce Certified JavaScript Developer I |
| Certification Provider: | Salesforce |
| Free Question Number: | 225 |
| Posted: | Oct 25, 2025 |
Refer to code below:
Function muFunction(reassign){
Let x = 1;
var y = 1;
if( reassign ) {
Let x= 2;
Var y = 2;
console.log(x);
console.log(y);}
console.log(x);
console.log(y);}
What is displayed when myFunction(true) is called?
A developer has code that calculates a restaurant bill, but generates incorrect answers while testing the code:
function calculateBill ( items ) {
let total = 0;
total += findSubTotal(items);
total += addTax(total);
total += addTip(total);
return total;
}
Which option allows the developer to step into each function execution within calculateBill?
Refer to the following code:
Let obj ={
Foo: 1,
Bar: 2
}
Let output =[],
for(let something in obj{
output.push(something);
}
console.log(output);
What is the output line 11?
Considering the implications of 'use strict' on line 04, which three statements describe the execution of the code?
Choose 3 answers