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!









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