Do Javascript private fields or methods using # work in iOS?
For example, I have this class:
Class A {
#privateFunction() {return ""}
}
Creating an instance of class A works in Android and desktop. But in iOS, I get the following error: cannot find variable: A
I know the error is related to iOS, because if I made the privateFunction public, it works.
I'm testing the code on a real iPhone device updated to the latest iOS version.
Update: I updated iOS to 14.5.1 but nothing changed.
