The assert console for JS logs the data as an assertion failure when the condition is false.
assert(condition, ...data)
A boolean value.
An any type.
clear
count
countReset
debug
dir
dirxml
error
group
groupCollapsed
groupEnd
info
log
table
time
timeEnd
timeLog
trace
warn
Web Hypertext Application Technology Working Group (WHATWG)