I have a question about declaring methods for a function in JavaScript. Suppose that I declare a function Monster in these two following ways: First way:
func