function hasGeneratorSupport() {
	var bool;
	try {
		evil( '"use strict"; (function* () {})' );
		bool = true;
	} catch ( err ) { // eslint-disable-line no-unused-vars
		bool = false;
	}
	return bool;
}
Tests for native `function*()` support.

@returns {boolean} boolean indicating if an environment has native `function*()` support

@example
var bool = hasGeneratorSupport();
// returns <boolean>