Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Macro is JavaScript
Message
 
 
To
09/02/2015 15:16:58
General information
Forum:
Javascript
Category:
Other
Miscellaneous
Thread ID:
01615034
Message ID:
01615044
Views:
28
>>>Does
>>>
>>>IndexStr = index.toString();
>>>$scope.currentTemplate["aAutoDep"+IndexStr] = '';
>>>
>>>
>>>work?
>>>
>>I'll try, thanks. Do you know if we can access object properties in JavaScript this way?
>
>In Python properties are implemented in a dict, and if I am not confusing something in JS the dominant data structure is the assoiciative array.

I made an update to my post with this blog reference

http://nfriedly.com/techblog/2009/06/advanced-javascript-objects-arrays-and-array-like-objects/
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform