function sum(a, b) {  return a + b;}x9.playground(() => {  sum(1, 2);});

You an also create playgrounds by adding a top-level block.

function sum(a, b) {  return a + b;}{  sum(1, 2);}

Top-level blocks are the preferred syntax. But x9.playground() exposes more configuration options.

Execution Model

We need to figure this out. There are many options:

Overriding: