mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-13 06:20:02 -04:00
just make it a ref
This commit is contained in:
parent
f8d33a207e
commit
593e06383e
1 changed files with 1 additions and 1 deletions
|
@ -419,7 +419,7 @@ fn expression_span(e: &Expression) -> Span {
|
||||||
}
|
}
|
||||||
|
|
||||||
// js MUST not be able to get a reference to any of these because sbx
|
// js MUST not be able to get a reference to any of these because sbx
|
||||||
const UNSAFE_GLOBALS: [&str; 9] = [
|
const UNSAFE_GLOBALS: &[&str] = &[
|
||||||
"window",
|
"window",
|
||||||
"self",
|
"self",
|
||||||
"globalThis",
|
"globalThis",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue