結果 : javascript check for variable type