Returns an empty generator function, or undefined if generator syntax is unsupported.