Patch broken polyfill feature test
authorTom Hughes <tom@compton.nu>
Mon, 5 Aug 2019 19:39:24 +0000 (20:39 +0100)
committerTom Hughes <tom@compton.nu>
Mon, 5 Aug 2019 19:39:24 +0000 (20:39 +0100)
https://github.com/Financial-Times/polyfill-service/issues/2006

vendor/assets/polyfill/es6.js

index cb37ff6..70dae2d 100644 (file)
@@ -3010,7 +3010,7 @@ CreateMethodProperty(Number, 'parseInt', parseInt);
 
 }
 
-if (!("name"in Function.prototype&&"x"===function n(){}.name
+if (!("name"in Function.prototype&&"x"===function x(){}.name
 )) {
 
 // Function.prototype.name