Skip to content

Visual Studio Code, rebuilt in Rust

Rust
216 B
Raw Blame
// An uncaught exception in a timer callback: js-debug stops on it and the exception widget shows below line 3.
function parse(text) {
	throw new Error(`cannot parse ${text}`);
}
setTimeout(() => parse('input'), 0);