Block Editor: How to get title and post content within the WordPress admin UI in Javascript?

If we do this in the browser dev tools console:

var b = wp.data.select("core/editor");

We can then inspect the b variable to see what functions it exposes via autocomplete, or debugging tools.

Notice, I didn’t call getBlocks(), the post title has never been a part of the post content, why would that change now?

A look around gave me this a.getCurrentPost(), which returns a post object with a post title, but this will be the original post title, not the current post title, and doesn’t get updated as the user edits the title

A quick google however gave an identical Question with an indepth answer on stackoverflow: https://stackoverflow.com/questions/51674293/use-page-title-in-gutenberg-custom-banner-block

const title = select("core/editor").getEditedPostAttribute( 'title' );