This repository was archived by the owner on Mar 8, 2019. It is now read-only.

Description
Current usage of empty for function is:
empty(function(){}); // true
empty(function(a,b){}); // false
then empty(function() { return 1; }); should be false logically, but it failed (see: Runkit).
According to the jfriend00's answer, coding to check the empty of function's body is no totally reliable.
Shouldn't the empty of all functions be false, like the empty of all boolean?