Trigger Gutenberg editor notices via the console

A snippet to drop in the console that will trigger a notice in the WordPress editor (i.e. Gutenberg).

Research Web Development

Enumerability in JavaScript, or “why some properties are dimmed in a console.log”

I’d seen dimmed properties before, and I always thought of them as the properties that are there by default, or ones I’m not supposed to manipulate. It turns out that’s pretty much correct. The technical term for that is that dimmed properties are non-enumerable vs. enumerable properties.