How to insert method in object in javscript and call it? : I've been looking for how to properly format a method in an object in javscript and how to execute it I keep getting errors and dont Know how to call a method console keeps giving me errors so I just wanted to ask if anyone knows how to properly place a method in an object and how to call it.