JSFiddle - React, Tailwind, and code Playground by Nidhi Patel August 04, 2021 JavaScript var x= 10; var o = {x:15}; function f() { console.log(this.x) } f(o);