結果 : javascript call a function inside another