diff --git a/boa/src/builtins/symbol/mod.rs b/boa/src/builtins/symbol/mod.rs index 103e9f6c8a..3498970fec 100644 --- a/boa/src/builtins/symbol/mod.rs +++ b/boa/src/builtins/symbol/mod.rs @@ -101,6 +101,8 @@ impl Symbol { /// Initialise the `Symbol` object on the global object. #[inline] pub fn init(interpreter: &mut Interpreter) -> (&'static str, Value) { + // Define the Well-Known Symbols + // https://tc39.es/ecma262/#sec-well-known-symbols let symbol_async_iterator = Symbol( Some("Symbol.asyncIterator".into()), interpreter.generate_hash(),