comments in js
// single line comment
/* multiline comemnt
line 2
line 3
line 4 *///This is a javascript single line comment
/*
And here is a
multiline comment
*/ // use '//'// This is how you comment a single line in JavaScript
/*
This is how you comment
multiple lines in
JavaScript
*/<script type="text/javascript">
<!--
document.write("I have multi-line comments!");
/*document.write("You can't see this!");
document.write("You can't see this!");
document.write("You can't see this!");
document.write("You can't see this!");
document.write("You can't see this!");
document.write("You can't see this!");
document.write("You can't see this!");*/
//-->
</script>
// comment sigle line
Also in JavaScript:
- javascript float to int
- how to delete an element of an array in javascript
- node js read files recursively
- react template
- Detect the city on application launch via geolocation react native
- how to add google map in react js
- npm check updates
- javascript switch assignment
- angular usehash not working
- string pop last char js
- jest simulate toggle switch react native
- .env not working on react
- jest
- discord.js send message to specific channel
- js filter array of objects by value
- how to create a component in react native
- get each primary colour and add into an array javascript
- check member role discordjs 12
- jquery on dom change
- how to get browser url in javascript
- angular clone array without reference
- javascript write to file
- chartjs lineTension
- how to run method in method vue js on load