JavaScript 2022

Term 3 Wednesday

May - July 2022

This site will be updated live during the sessions

Week 8 7 Call 2

		
001function getFullPrice(fee, vat) {
		
002    return this.price + this.countryRate + fee + vat;
		
003}
		
004
		
005const price = {
		
006    price: 100,
		
007    countryRate: 20
		
008}
		
009
		
010console.log(getFullPrice.call(price, 20, 50));
		
011