結果 : how to call same function inside that function in javascript