Quick Quiz On JavaScript Modules!

Test your knowledge of Modules with this short quiz!

1

Which of these scenarios best explain Modularity:

A)

Function A should be entirely independent of Function B

B)

If there are more than one classes in a file, split it!

C)

All methods written inside class definition should be strongly related to the class

D)

Both B and C

Question 1 of 50 attempted

Get hands-on with 1200+ tech skills courses.