JavaScript functions or methods?
ECMAScript standards are evolving rapidly with lots of new features being added regularly. Sometimes there are new features (like inclusion of class keyword) and sometimes they add to existing features.
Recently JS got the ability to define "methods"...
sanjayvyas.hashnode.dev1 min read
George R. NICA
code dabbler
printThis(), since it is a 'mere' method, whileprintThat()is a function and comes with the 'weight' of its own prototype.