1.

Which of the following is the descendant operator?(a) ..(b) …(c) *(d) @I had been asked this question in an online quiz.I'm obligated to ask this question of Shorthand functions and Multiple catch clauses in portion Classes and Modules in JavaScript of JavaScript

Answer»

The correct option is (a) ..

Easy explanation: While the . OPERATOR ACCESSES direct children of the given node, the .. operator accesses all children no matter how DEEPLY nested: The .. operator is the DESCENDANT operator; you can use it in place of the normal. member-access operator:



Discussion

No Comment Found

Related InterviewSolutions