thana
06/07/2019, 9:41 AMprototype
of a js class and when will it simply be on this
? What does this decision depend on?Svyatoslav Kuzmich [JB]
06/07/2019, 9:56 AMprototype
when:
- it is open, abstract or member of interface
- overrides something
- has custom get
or set
- is delegated
- is lateinitthana
06/07/2019, 9:58 AMthana
06/07/2019, 10:02 AMSvyatoslav Kuzmich [JB]
06/07/2019, 10:02 AMthana
06/07/2019, 10:03 AMSvyatoslav Kuzmich [JB]
06/07/2019, 10:03 AMthana
06/07/2019, 10:04 AMthana
06/07/2019, 10:06 AMexternal interface
decalration to negotiate an interface with our js developers so they can easily integrate against our code.
But as soon as i implement that interface. the overriden properties will get name mangeld and the real names are only available through the prototype which will be lost after being sent to the web workerSvyatoslav Kuzmich [JB]
06/07/2019, 11:17 AMthana
06/07/2019, 2:36 PMDico
06/07/2019, 2:37 PMthana
06/07/2019, 2:39 PM