12 lines
191 B
TypeScript
Raw Normal View History

2020-03-28 14:45:55 +01:00
import {Car} from './car'
const a = new Car();
a.manufacturer = 'Benz';
a.model = 'Velo';
const b = new Car();
b.manufacturer = 'Ford';
b.model = 'Model T';
a.print_info();
b.print_info();