Writing/Printing in JavaScript

console.log("what's up!")
what's up!
function logItType(output) {
    console.log(typeof output, ";", output);
}
console.log("These are different types outputs in JavaScript")
logItType("Hi!"); // String
logItType(7);    // Number
logItType([7, 8, 9]);  // Object is generic for this Array, which similar to Python List
These are different types outputs in JavaScript
string ; Hi!
number ; 7
object ; [ 7, 8, 9 ]