JSFiddle - React, Tailwind, and code Playground

by xxjcaxx

JavaScript

let a  = [1,2,3,4];
a.forEach(b=> console.log(this));
a.forEach(function(b){console.log(this)}); 
let c = {a, f: function(){
	this.a.forEach(function()
  {
  	console.log(this);
  }
  );
  }
  }