1What is JavaScript used for?
2Adding interactive behavior to web pages. JavaScript allows users to interact with web pages. ...
3Creating web and mobile apps. Developers can use various JavaScript frameworks for developing and building web and mobile apps. ...
4Building web servers and developing server applications. ...
5Game development.
1let x = 5;
2console.log("hello world " + x + " times");
3console.log(`hello world ${x} times`);
4