List of questions
Related questions
Question 145 - Certified JavaScript Developer I discussion
A developer wants to define a function log to be used a few times on a single-file JavaScript script.
01 // Line 1 replacement
02 console.log('"LOG:', logInput);
03 }
Which two options can correctly replace line 01 and declare the function for use?
Choose 2 answers
A.
function leg(logInput) {
B.
const log(loginInput) {
C.
const log = (logInput) => {
D.
function log = (logInput) {
Your answer:
0 comments
Sorted by
Leave a comment first