Re: [heycam/webidl] Update SessionManager example (#421)

tobie commented on this pull request.



> @@ -3460,7 +3457,8 @@ interfaces that have interface members with these names.
 
         typeof SessionManager.prototype.values;            // Evaluates to "function"
         var it = sm.values();                              // values() returns an iterator object
-        String(it);                                        // Evaluates to "[object SessionManager Iterator]"
+<!--    String(it);                                        // Evaluates to "[object SessionManagerIterator]"
+                                                           // TODO: https://github.com/heycam/webidl/issues/419 -->
         typeof it.next;                                    // Evaluates to "function"
 
         // This loop will alert "anna" and then "brian".

Sorry I didn't notice that before, can you change this to "log" stuff rather than "alert" it?

So `s/This loop will also alert/This loop will also log/` and `s/window.alert/console.log/`.


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/pull/421#pullrequestreview-58298446

Received on Thursday, 24 August 2017 07:42:43 UTC