JS-Dev-101 試験問題を無料オンラインアクセス
| 試験コード: | JS-Dev-101 |
| 試験名称: | Salesforce Certified JavaScript Developer - Multiple Choice |
| 認定資格: | Salesforce |
| 無料問題数: | 149 |
| 更新日: | 2026-10-15 |
Refer to the code snippet:
01 let array = [1, 2, 3, 4, 4, 5, 4, 4];
02 for (let i = 0; i < array.length; i++) {
03 if (array[i] === 4) {
04 array.splice(i, 1);
05 i--;
06 }
07 }
What is the value of array after the code executes?
A team at Universal Containers works on a big project and uses Yarn to deal with the project's dependencies. A developer added a dependency to manipulate dates and pushed the updates to the remote repository. The rest of the team complains that the dependency does not get downloaded when they execute yarn.
What could be the reason for this?
A developer copied a JavaScript object:
01 function Person() {
02 this.firstName = "John";
03 this.lastName = "Doe";
04 this.name = () => `${this.firstName},${this.lastName}`;
05 }
06
07 const john = new Person();
08 const dan = Object.assign({}, john);
09 dan.firstName = 'Dan';
How does the developer access dan's firstName, lastName?
let sampleText = "The quick brown fox jumps";
Which three expressions return true for a substring?