結果 : javascript test if function exists