training material about JavaScript function object