JavaScript-Developer-I試験無料問題集「Salesforce Certified JavaScript Developer (JS-Dev-101) 認定」
A developer has a fizzbuzz function that, when passed in a number, returns the following:
* ' fizz ' if the number is divisible by 3.
* ' buzz ' if the number is divisible by 5.
* ' fizzbuzz ' if the number is divisible by both 3 and 5.
* Empty string if the number is divisible by neither 3 nor 5.
Which two test cases properly test scenarios for the fizzbuzz function?
* ' fizz ' if the number is divisible by 3.
* ' buzz ' if the number is divisible by 5.
* ' fizzbuzz ' if the number is divisible by both 3 and 5.
* Empty string if the number is divisible by neither 3 nor 5.
Which two test cases properly test scenarios for the fizzbuzz function?
正解:B,C
解答を投票する
解説: (GoShiken メンバーにのみ表示されます)
Refer to the code below:
01 const server = require( ' server ' );
02
03 // Insert code here
A developer imports a library that creates a web server. The imported library uses events and callbacks to start the server.
Which code should be inserted at line 03 to set up an event and start the web server?
01 const server = require( ' server ' );
02
03 // Insert code here
A developer imports a library that creates a web server. The imported library uses events and callbacks to start the server.
Which code should be inserted at line 03 to set up an event and start the web server?
正解:B
解答を投票する
解説: (GoShiken メンバーにのみ表示されます)