javascript how to print element code example Example 1: js how to print console.log(text); Example 2: how to print in java script console.log("Aighte, bet");