結果 : declare function as variable javascript