Texts: Fill in the blanks of the below code to generate the following output
Element: 2 Element: 4 Element: 6 Element: 8 Element: 10
Code:
const intStr = {
phrase: 'Element: number[1,234]',
numbers: [2, 4, 6, 8, 10],
loop: function() {
this.numbers.forEach(function(number) {
console.log(number * 2);
}.bind(this));
}
};
intStr.loop();