U.S. Independence Day Deal! Unlock 25% OFF Today – Limited-Time Offer - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

CIW 1D0-735 Exam - Topic 6 Question 94 Discussion

What basis code is needed to define the JavaScript function avgGrades?
C) avgGrades (){ }
A) Function avgGrades () {}
B) avgGrades function ()
D) var = function avgGrades () {}

CIW 1D0-735 Exam - Topic 6 Question 94 Discussion

Actual exam question for CIW's 1D0-735 exam
Question #: 94
Topic #: 6
[All 1D0-735 Questions]

What basis code is needed to define the JavaScript function avgGrades?

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

0/2000 characters
Lezlie
2 days ago
I thought it was D) var = function avgGrades () {}?
upvoted 0 times
...
Avery
2 months ago
C) avgGrades (){ } looks right to me!
upvoted 0 times
...
Fausto
2 months ago
A) Function avgGrades () {} is incorrect.
upvoted 0 times
...
Kaycee
3 months ago
I feel like I've seen something similar in my notes, but I can't recall if the parentheses should have a space or not.
upvoted 0 times
...
Lucille
3 months ago
I’m a bit confused about the use of "var" in option D. Isn’t that for variable declarations?
upvoted 0 times
...
Art
3 months ago
I remember practicing a question that had a similar format, and I think option A looks right to me.
upvoted 0 times
...
Jeannine
3 months ago
I think the correct syntax for defining a function in JavaScript is something like "function avgGrades() {}", but I'm not completely sure.
upvoted 0 times
...

Save Cancel