Take the following code.
let newTruck = {
val drive = 4;
pub buildTruck = (~make, ~model) => {j|You built a new $make $model with $drive-wheel drive.|j};
};
let toyotaTundra = newTruck#buildTruck(~make="Toyota", ~model="Tundra");
This will throw a warning that drive
is unused, but the object transpiles to JavaScript correctly. Why?