javascript log to console
console.log('What you want to log here.');const varName = 'this variable';
console.log(varName);console.log('message1' + ' - ' + 'message2')console.log('Hello World')console.log('this string will show on console') // this string will show on console
const strVar1 = 'fizz';
const strVar2 = 'buzz';
console.log('strVar1 is: ' + strVar1 + ' and strVar2 is: ' + strVar2) // strVar1 is: fizz and strVar2 is: buzz
console.log(420) // 420console.log("Hello World");
Also in JavaScript:
- jquery if else on click
- activate an event on press escape button in jquery
- RFC8259 json
- how run dockerfile
- how to include local image files in javascript object
- js unique using set
- pushing element in array in javascript
- js retrieve form data
- A fatal JavaScript error has occurred. Should we send an error report
- redirect to url in javascript
- javascript user agent detection
- destruction in javascript
- select class with data attribute jquery
- get value from textbox in vanilla javascript
- flatlist footer react native
- javascript random number
- for each array javascript
- jquery addeventlistener wheel
- npm stop react app
- javascript regex single line
- declare array in javascript
- global scope js
- string contains js
- crucer in js