JSFiddle - React, Tailwind, and code Playground by Shang-De You July 08, 2019 JavaScript let obj = { a: 'a', fn () { console.log(this.a) } } obj.fn()