ISEmpty bukan fungsi javascript

isEmpty() not isempty() 
Programming Is Fun