dev-2024-05-20-Printing a value in the console | 10:06:21 PM
Link to originalPrinting a value in JS:
console.log(5);
The syntax above prints the number
5
in the console.
dev-2024-05-20-adding a comment in JS | 10:22:19 PM
Link to originalPutting comments on JavaScript:
We can put comments using the following syntax:
//{{comment-here}}
or/*Your comments here!*/
Notice how the above syntax for multi-line comments looks like comments for CSS!
dev-2024-05-23-Primitive Data Types | 10:36:29 PM
Link to originalPrimitive Data Types in JavaScript
dev-2024-05-27-Adding a string to another string: concatenation
Link to originalAdding a string to another string: concatenation
We can concatente strings using the following syntax:
console.log('hey' + 'there');