結果 : how to declare type in javascript