added support for "function*" in esnext but not in moz