Fix incorrect generator syntax (#761) (#762)

This commit is contained in:
Joseph Pecoraro 2016-10-14 15:58:46 -07:00 committed by Tom Care
parent febb11b249
commit fb61ab44eb
1 changed files with 2 additions and 2 deletions

View File

@ -8,8 +8,8 @@ info: http://jeffmo.github.io/es-trailing-function-commas/
author: Jeff Morrison <lbljeffmo@gmail.com>
---*/
function one*(a,) {}
function two*(a,b,) {}
function* one(a,) {}
function* two(a,b,) {}
assert.sameValue(
one.length,