extend objects inside another object javascript code example Example: javascript extend object class ChildClass extends ParentClass { ... }