mirror of
https://github.com/denoland/deno.git
synced 2025-02-22 21:23:32 -05:00

This commit removes "Deno.core" namespace. It is strictly private API that has no stability guarantees, we were supposed to remove it long time ago. Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
4 lines
122 B
JavaScript
4 lines
122 B
JavaScript
const [, errorInfo] = Deno[Deno.internal].core.evalContext(
|
|
'throw new DOMException("foo")',
|
|
);
|
|
console.log(errorInfo);
|