What needs to be changed to allow this script to run without error?

Consider the following code:

What needs to be changed to allow this script to run without error?

Consider the following code:

What needs to be changed to allow this script to run without error?

A.
Change the substring method call to substr

B.
Change the substring method call to substr()

C.
Change the characterAt method call to charAt

D.
Change the characterAt method call to characterat

Explanation:



Leave a Reply 0

Your email address will not be published. Required fields are marked *