This commit is contained in:
Andrew Morris
2023-06-22 21:29:42 +10:00
parent 3d3a4d9016
commit af136fa5aa
5 changed files with 93 additions and 4 deletions

View File

@@ -28,6 +28,8 @@ pub enum BuiltinName {
Symbol,
SymbolIterator,
BigInt,
}
pub const BUILTIN_NAMES: [&str; BuiltinName::COUNT] = [
@@ -46,6 +48,7 @@ pub const BUILTIN_NAMES: [&str; BuiltinName::COUNT] = [
"RangeError",
"Symbol",
"SymbolIterator",
"BigInt",
];
pub const BUILTIN_COUNT: usize = BuiltinName::COUNT;