let foo = { bar: function () { console.log(this); };};JavaScript basics: The Execution Context and the Lexical Environment7619Dan ParkCjsFollowJul 10, 2017 · 1 min readthere should not be a semi-colon after bar.