how to print to console javascript

JavaScript
console.log("string")

Source

Also in JavaScript: