結果 : call a function inside another function javascript