Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
import { Driver } from "./driver";
import { Grid } from "./grid";
const alonso = new Driver("Fernando", "Alonso");
const hamilton = new Driver("Lewis", "Hamilton");
const vettel = new Driver("Sebastian", "Vettel");
const grid = new Grid(alonso, hamilton, vettel);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment