Debug Javascript di Chrome
// use console.log()
console.log("whatever you want to debug")
//the output will be.
whatever you want to debug
//you can also wright both variable and strings
let debug = 4
console.log("whatever you want to debug", debug);
//the output will be.
whatever you want to debug 4
//you can also do it like this
console.log(`whatever you want to debug ${debug}`);
//the output will still be.
whatever you want to debug 4
rumbo