extends vs implements javascript code example
Example: extends vs implements java
both are used for inheriting
extends:
class extends class
interface extends interface
implements:
class implements interface1, Interface2 …