into ro inheritance in js