結果 : javascript compare type of variable