結果 : declare function in variable javascript