Consider the following snippet of code:
const bonusAction = {
value: 50
}
const saleAction = {
value: 20
}
const friendAction = {
value: 30
}
function getDiscount(friendAction) {
value = saleAction;
console.log(this.value);
}
["jacket"].forEach(getDiscount, bonusAction);
Type the number inside the console.log.