Typeof a function

everybody knows in javascript"everything is an object including function." but when i typeof a function,the result is function not object.why?

Because if typeof returned ‘object’ for everything, it’d be pretty useless. :slight_smile: