Posts by Francisco Nascimento • 22 points
1 post
-
-2
votes2
answers280
viewsA: Using another class variable in Javascript
You can use the concept of getters and setters to persist the data. in a very basic way follows an example below using static class. but this is not the best way to do it, but only to show that it…