Properties
Similar Topics
Statistics
Comments
2
Participants
1
Subscribers
1
Votes
2
Views
1092
Share
Needs Answer
Hi.
I have some applets with JavaScript global 2D arrays (see an example in the attachment).
They seem to work fine (even other more complex applets).
However, I have realized that the global variables are a bad practice on JavaScript programming for GeoGebra:
https://wiki.geogebra.org/en/Scripting
https://help.geogebra.org/topic/javascrit-global-variable
Should I change the JavaScript arrays to GeoGebra lists? (the JavaScript arrays would save me some steps forward [and the rewriting process].)
Files:
demo-global-js-...
- GeoGebra
- Help
- Partners
-
Contact us
- Feedback & Questions
- This email address is being protected from spambots. You need JavaScript enabled to view it.
- +43 677 6137 2693
© 2023 International GeoGebra Institute
Could I follow using JavaScript global arrays? (improving my question)
I found this thread:
https://help.geogebra.org/t...
Works in GeoGebra 6 for scalar numbers. It doesn't work for arrays.
Comments have been locked on this page!