For 🕶 Adrian Bogdan

by Arnaud Buchholz

JavaScript

const f1 = () => {
  this.a = 'bar'
}

const f2 = () => {
  alert(this.a)
}

f1()
f2()