Studying Python and JavaScript methods part 2