From e11b846284c3e80fb6a2b2d94213c15f03fb7be9 Mon Sep 17 00:00:00 2001 From: joshwd36 Date: Wed, 29 Jul 2020 15:09:32 +0100 Subject: [PATCH] Add comment --- boa/src/builtins/symbol/mod.rs | 2 ++ 1 file changed, 2 insertions(+) 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(),