function travelToTexas(vehicle) { vehicle.move(this.currentLocation, new Location('texas')); }⬆ back to topAvoid type-checking (part 2)If you are working with basic primitive values like strings, integers, and arrays, and you can't use polymorphism but you still feel the need to type...