const fordFocus = {
    make: 'Ford',
    model: 'Focus',
    inflateTyre(wheel, pressure) {
        console.log(
            `Inflating the tyre of ${wheel} to a pressure of ${pressure}.`
        );
    },
};

const toyotaHilux = {
    make: 'Toyota',
    model: 'Hilux',
};

fordFocus.inflateTyre(1, 10); // Inflating the tyre of 1 to a pressure of 10.
fordFocus.inflateTyre.call(toyotaHilux, 2, 20); // Inflating the tyre of 2 to a pressure of 20.