functions and function calls is javascript