mirror of
https://github.com/voltrevo/ValueScript.git
synced 2026-01-14 16:08:02 -05:00
Add Symbol builtin
This commit is contained in:
@@ -25,6 +25,8 @@ pub enum BuiltinName {
|
||||
Error,
|
||||
TypeError,
|
||||
RangeError,
|
||||
|
||||
Symbol,
|
||||
}
|
||||
|
||||
pub const BUILTIN_NAMES: [&str; BuiltinName::COUNT] = [
|
||||
@@ -41,6 +43,7 @@ pub const BUILTIN_NAMES: [&str; BuiltinName::COUNT] = [
|
||||
"Error",
|
||||
"TypeError",
|
||||
"RangeError",
|
||||
"Symbol",
|
||||
];
|
||||
|
||||
pub const BUILTIN_COUNT: usize = BuiltinName::COUNT;
|
||||
|
||||
Reference in New Issue
Block a user