this reference in outer function(which is called in constructor mode) this reference in inner function(which is property of a function)
//function meant to be called in the constructor mode
function Bicycle(cadence, speed, gear, tirePressure)
{
this.cadence = cadence;
this.speed = speed;
this.gear = gear;
this.tirePressure = tirePressure;
this.inflateTy…