Essentials
primer-original-v2mediumEssentialsWeb Technologiesprimer-original-v2

Polson is allocated with the task of email validation in java script. He needs to extract character by character and check for email validation like looking for @ . etc. Which method is best suited to extract every character from the text?

Answer options

A
charAt()
B
<div>
C
<span>
D
<section>

Correct answer: charAt()

Explanation

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

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

Related Essentials questions

Practice more Essentials questions

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