What is a first class function in JavaScript?