結果 : js execute function if exists