結果 : how to get a type of a variable in javascript