In ES6 – Which method refers to the parent class?

20. In ES6 – Which method refers to the parent class?

  1. parent()
  2. super()
  3. top()
  4. main()

Answer: B) super()

Explanation:

In ES6 – The super() method refers to the parent class.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.