NamasteScale needs JavaScript to run. Enable it to practise system design, low level design and machine coding.
this is decided by how a function is called, not where it is written. Four call styles set it (new, explicit, method, plain), and arrow functions opt out by using the this of the surrounding code.