2 questions in javascript

Ask a question!