結果 : javascript call function synchronously