JSFiddle - React, Tailwind, and code Playground JavaScript var y = [1, 2, 3]; y.forEach(function (element) { console.log(this); }, 'hej');