Examveda
Examveda

Which of the following is the descendant operator?

A. ..

B.

C. *

D. @

Answer: Option B

Solution(By Examveda Team)

The .. operator is the descendant operator; you can use it in place of the normal . member-access operator :
var names = pt..name;

This Question Belongs to Javascript >> Classes And Modules

Join The Discussion

Related Questions on Classes and Modules