Observable JS (default)

Regular output

1 + 1

Errors

Observable uses its own inline error message styling, and it also sends them to the browser console:

1 + a

Warnings

Observable doesn’t really use inline warnings (as far as I can tell?). It sends warnings to the browser console instead:

console.warn("Warning")