結果 : javascript check if prototype function exists