3 ms·
They said "arrow function methods", so I assume they're looking for public class fields support [1], not only arrow functions support per se. Public class field
by inbx0 6y ago
They said "arrow function methods", so I assume they're looking for public class fields support [1], not only arrow functions support per se. Public class fields (apart from static fields) are also supported in Safari though since September.
[1]: https://caniuse.com/mdn-javascript_classes_public_class_fields https://caniuse.com/mdn-javascript_classes_public_class_fiel...
- globuous 6y agoYes, that's exactly what I meant! Nice! Indeed, I had in mind a script I wrote just around that time and I guess the iPhone I was testing on was not fully updated. Just checked on my Safari on Big Sur and they do work now, sweet ! Should have tried / checked before commenting, thanks for the heads up ;)