JavaScript-Developer-I 試験問題 71
開発者は、ユーザーから報告されたバグを修正するように依頼されました。そのために、開発者は以下を追加します。
デバッグ用のブレークポイント。
関数 Car (maxSpeed, color){
This.maxspeed = masSpeed;
this.color = color;
let carSpeed = document.getElementById('CarSpeed');
デバッガ;
let fourWheels = new Car(carSpeed.value, 'red');
コードの実行が6行目のブレークポイントで停止したとき、どのような2種類の情報が得られますか?
ブラウザのコンソールで利用できますか?
2つの回答を選択してください:
デバッグ用のブレークポイント。
関数 Car (maxSpeed, color){
This.maxspeed = masSpeed;
this.color = color;
let carSpeed = document.getElementById('CarSpeed');
デバッガ;
let fourWheels = new Car(carSpeed.value, 'red');
コードの実行が6行目のブレークポイントで停止したとき、どのような2種類の情報が得られますか?
ブラウザのコンソールで利用できますか?
2つの回答を選択してください:
JavaScript-Developer-I 試験問題 72
ある開発者が、チームがこれから作成するバックエンドサーバーにNode.jsを使用することでメリットが得られることを経営陣に説得しようとしている。このサーバーは、チームが既にHTML、CSS、JavaScriptを使って構築したウェブサイトからのAPIリクエストを処理するウェブサーバーとなる予定だ。
開発者が上司を説得するために使えるNode.jsの3つの利点は何ですか?
開発者が上司を説得するために使えるNode.jsの3つの利点は何ですか?
開発者が上司を説得するために使えるNode.jsの3つの利点は何ですか?
開発者が上司を説得するために使えるNode.jsの3つの利点は何ですか?
JavaScript-Developer-I 試験問題 73
以下のコードを参照してください。
Const pi = 3.1415326、
円周率のデータ型は何ですか?
Const pi = 3.1415326、
円周率のデータ型は何ですか?
JavaScript-Developer-I 試験問題 74
A developer wrote the following code to test a sum3 function that takes in an array of numbers and returns the sum of the first three numbers in the array. The test passes:
01 let res = sum3([1, 2, 3]);
02 console.assert(res === 6);
03
04 res = sum3([1, 2, 3, 4]);
05 console.assert(res === 6);
別の開発者がsum3の動作を変更し、配列内のすべての数値を合計するようにしました。
更新されたsum3関数でテストを実行すると、どのような2つの結果が得られますか?
01 let res = sum3([1, 2, 3]);
02 console.assert(res === 6);
03
04 res = sum3([1, 2, 3, 4]);
05 console.assert(res === 6);
別の開発者がsum3の動作を変更し、配列内のすべての数値を合計するようにしました。
更新されたsum3関数でテストを実行すると、どのような2つの結果が得られますか?
JavaScript-Developer-I 試験問題 75
Refer to the code below:
01 x = 3.14;
02
03 function myFunction() {
04 ' use strict ' ;
05 y = x;
06 }
07
08 z = x;
09 myFunction();
Considering the implications of ' use strict ' on line 04, which three statements describe the execution of the code?
01 x = 3.14;
02
03 function myFunction() {
04 ' use strict ' ;
05 y = x;
06 }
07
08 z = x;
09 myFunction();
Considering the implications of ' use strict ' on line 04, which three statements describe the execution of the code?
