how to print to console javascript
console.log("string")
how to use the javascript console
/*
shortcuts:
command K = clears the console
command shift M = toggle device toolbar
command shift C = select something on the page
you can also log in a variable you may have coded:
x;
[value of x at that moment]
if you're animating something:
noLoop();
[stops the animation]
loop();
[continues the animation]
you can also code somewhat intricate text:
for (var i = 0; i > 10; i++) {
console.log([variable or anything]);
}
some functions are also available to use:
function mousePressed() {
console.log([anything]);
}
function keyPressed() {
noLoop(); [or anything else]
}
*/
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us