Tetapkan metode baru untuk setiap array di JavaScript (sintaks yang berbeda)

function add()
		  {
			  let boo = ["b", "w", "r", "T", "y", "u"];
Array.prototype.on = function()
		  
		  
		  {
		  	
			  this['forEach'](function(el){console.log(el)});			
			/*the syntax above  says run 'this array'(this)'s forEach function with the (function()) being the function being executed*/
		  }

		  boo.on();
		  
}
 
Javasper