Are the alert and confirm functions built in to JavaScript, or are they part of the DOM?
Bonus points if you can refer me to a reference that will allow me to easily tell what functions are directly built in to JavaScript.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
They are part of what is commonly referred to as DOM level 0 which isn’t part of any standard.
MDN has a good JavaScript reference. It doesn’t include objects that aren’t part of core JS (although other sections on the site do cover DOM and other APIs).