mirror of https://github.com/webpack/webpack.git
9 lines
201 B
JavaScript
9 lines
201 B
JavaScript
|
module.exports = function supportArrowFunctionExpression() {
|
||
|
try {
|
||
|
eval("var foo = function(fn) {return fn.toString()}; foo(() => {return 'a'})");
|
||
|
return true;
|
||
|
} catch(e) {
|
||
|
return false;
|
||
|
}
|
||
|
};
|