JavaScript {Q&A} What are the different data types present in JavaScript?How is JavaScript different from Java?What is BOM?What is the use of window object?What is the use of history object?