JSFiddle - React, Tailwind, and code Playground

JavaScript

//SIMON: i have this code containing toyota and simon as objects
var toyota = {
  carBrand: ['Land Cruiser', 'spacio', 'regius', 'prado'],
  sellCars: function(){
    var args = Array.prototype.slice.call(arguments)
    console.log('Toyota we manufacture cars like, ' + args.join(', ') + ' of greatest quality. So feel confident to deal with us, thank you!');
  },
  landCruiserV8:{
          price: 200,
          model: 2017
        },
  regius:{
          price: 40,
          model: 2010
        },
}
toyota.sellCars.apply(toyota, this.carBrand);
//....SIMON: i want when i call line 17(the immediate call site ), the output to be "Toyota we manufacture cars like, Land Cruiser, spacio, regius, prado of greatest quality. So feel confident to deal with us, thank you!"

var simon = {
  buyCar: function(car){
    console.log('Toyota, please what are the specifications of ' + car + '.');
  }, 
  simonGetsOne: function(){
    console.log('The specifications of regius are; ' + this.price + ' millions and ' + this.model +  ' made.');
  }
}
simon.buyCar('regius');
simon.simonGetsOne.apply(toyota, this.price, this.model);
//...SIMON: i want when i call line 29(the immediate call site above) the output to be "The specifications of regius are; price: 40 millions and model: 2010 made."