Labs · Input → Code → Output

A function you
can look inside.

Edit the JSON, run a curated function and compare its actual output. Your data stays in this browser.

Code JavaScript
function unique(values) { return [...new Set(values)]; }

What runs here

The displayed function and the worker use the same curated implementation. Only the input is editable. There is no code editor and no arbitrary JavaScript execution.

The initial output is a documented expected result. After Run, the status identifies actual local execution.

Limits are part of the example

Input is capped at 64 KB, depth at 12 and total fields and elements at 1,000. Strings are limited to 16,000 characters. Output is capped at 128 KB; a run times out after two seconds.

Cancel terminates the worker. Functions also validate their own input types and allocation-sensitive options. Worker timeouts do not provide a hard browser memory quota.

Browse the full explanations, limits and original sources.

Type two or more characters. Try “duplicate”, “webhook” or “retry”.