JavaScript-Developer-I 試験問題 101

開発者は、テクニカルリードから以下のコードについてコメントを受け取ります。
エラー:
const monthName = '7月';
const year = 2019;
if(year === 2019) {
monthName = '6月';
}
このコードを実行するには、どの行を編集すればよいですか?
  • JavaScript-Developer-I 試験問題 102

    Refer to the expression below:
    Let x = ('1' + 2) == (6 + 2) ;
    How should this expression be modified to ensure that a evaluated to false?
  • JavaScript-Developer-I 試験問題 103

    Refer to following code block:
    Let array = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11,];
    Let output =0;
    For (let num of array){
    if (output >0){
    Break;
    }
    if(num % 2 == 0){
    Continue;
    }
    Output +=num;
    What is the value of output after the code executes?
  • JavaScript-Developer-I 試験問題 104

    Universal Containers (UC) は、ユーザーが検索できるアプリケーションが
    アカウントはキーが押されるたびにネットワークリクエストを送信します。その結果、
    サーバーが処理すべきリクエスト。
    ● この問題を解決するため、UCは文字列変更時にデバウンス機能を実装することにした。
    ハンドラ。
    このデバウンス機能を実装するための3つの重要なステップは何ですか?
    3つの回答を選択してください:
  • JavaScript-Developer-I 試験問題 105

    A developer has the following array of hourly wages:
    Let arr = (8, 5, 9, 75, 11, 25, 7, 75, , 13, 25);
    For workers making less than $10 an hour rate should be multiple by 1.25 and returned in a new array.
    How should the developer implement the request?