different ways to write a function in an object - Kevin Powell - Community