New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 716654 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 704380
Owner:
Last visit > 30 days ago
Closed: May 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

Cannot log result of generator functions.

Reported by thysul...@gmail.com, Apr 28 2017

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36

Steps to reproduce the problem:
1. Create generator function `function* foo() {}`
2. Assign result to a `a = foo()`
3. Try to log a, console.log(a)
4. Blank/Whitespace logged

What is the expected behavior?
log generator object.

What went wrong?
logs whitespace

Did this work before? N/A 

Chrome version: 57.0.2987.133  Channel: n/a
OS Version: OS X 10.12.4
Flash Version: Shockwave Flash 25.0 r0
 
Owner: kozyatinskiy@chromium.org
Mergedinto: 704380
Status: Duplicate (was: Unconfirmed)
Thanks for your report! Fix should be available starting M58.
You could wait for update this week or use Canary [1].
[1] https://www.google.com/chrome/browser/canary.html

Sign in to add a comment