You also can't implement generators using an array. There's a reason why generators were added to ES6 -- they aren't just syntactic sugar.
Do you also consider functions to be syntactic sugar? Because you can also implement them in terms of a switch statement.