sample code in javascript code example
Example 1: simple javascript code
let data = {
name:"Brendan Eich",
inventor :"Javascrpt"
}
console.log(`The name of his is ${data.name}. He is the inventor of ${inventor} programming language`);
Example 2: javascript example code
var one = 1
if (one >= 1) {
console.log("CHANGE VAR TO 0")
}