Black Friday Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: validbest

Exam 1D0-735 All Questions
Exam 1D0-735 All Questions

View all questions & answers for the 1D0-735 exam

CIW Web Development Series 1D0-735 Question # 7 Topic 1 Discussion

1D0-735 Exam Topic 1 Question 7 Discussion:
Question #: 7
Topic #: 1

Scarlet has the following code in her script:

Var namesArr =[‘’Joseph’,’ Charlotte’’, ‘’Nicole’’];

She wants to add the name Hank to the end of the array so that its length is 4. What code should she use?


A.

namesArr [4] ''Hank'';


B.

namesArr push (''Hank'');


C.

namesArr unshift (''Hank'');


D.

namesArr .shift (''Hank'');


Get Premium 1D0-735 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.