Salesforce
(JS-Dev-101)
105 Minutes
219
Salesforce Certified JavaScript Developer
A: str.substr(1, 5);
B: str.substr (0, 5);
C: str.substring (1, 5);
D: str.substring (0, 5);
A: value == NaN
B: Object.is(value, NaN)
C: value === Number.NaN
D: value ! == value
E: Number.isNaN(value)
A: let arrl = arr.filter((val) => val num = 1.25);
B: let arrl = arr .rr.acArray ((val) => ( val { num * 1.25 ));
C: let arrl = arr-map((num) => { return ran * 1.25 }).filter((val) -> { return val < 10));
D: let arrl = arr.filterBy((val) => val < 10 ).aapBy num = ..25 );
A: function leg(logInput) {
B: const log(loginInput) {
C: const log = (logInput) => {
D: function log = (logInput) {
A: Both lines 08 and 09 are executed, and the variables are outputted.
B: Line 08 outputs the variable, but line 09 throws an error.
C: Line 08thrones an error, therefore line 09 is never executed.
D: Both lines 08 and 09 are executed, but values outputted are undefined.