deno/cli/tests/025_reload_js_type_error.js

6 lines
147 B
JavaScript

// There was a bug where if this was executed with --reload it would throw a
// type error.
window.test = null;
test = console;
test.log("hello");