console
console.log("%c%s",
"color: red; background: yellow; font-size: 24px;",
"WARNING!");
console
console.log("%c%s",
"color: red; background: yellow; font-size: 24px;",
"WARNING!");
console
console.log('hello')
google js console
function add(a, b=20) {
return a + b;
}
console
<script>
console.log(x); // return undefined
var x="hello js";
console.log(x); // return "hello js"
</script>
console
CONSOLE LOG LIKE A PRO:
Put {} to have label value pairs
// e.g console.log({data, name}); returns data: data, name: name
Console.table() puts data in table!
Console.group() ... console.groupEnd() //groups console logs inside these together
Console.assert only logs if first param falsey!
Console.count keeps track!
console.time and console.timeLog / timeend outputs how long took.
%c first char in string to add custom css:)
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