Web Technology
primer-original-v2mediumWeb TechnologyJavascriptprimer-original-v2

Polson needs to extract every character from a text string for email validation. Which JavaScript method is best suited?

Answer options

A
characterAt()
B
charAt()
C
getCharAt()
D
charCodeAt()

Correct answer: charAt()

Explanation

Quick AnswerThe correct answer is charAt() because it directly addresses the core logic of Web Technology.

This question has been retained as-is due to its unique context.

Related Web Technology questions

Practice more Web Technology questions

PrimerPrep has independently reviewed practice questions and coding exercises — all free.