結果 : javascript check variable is a function