3 ms·
There is only one other composite data type besides arrays: objects. I don't think these are being used for invoking functions, but I think it would be interest
by benatkin 15y ago
There is only one other composite data type besides arrays: objects. I don't think these are being used for invoking functions, but I think it would be interesting to try.
- deleted 15y ago[deleted]
- jes5199 15y agoAn idea that I had was to use Objects to define namespaces, like when writing a library: { "myFunction": ["lambda", ...], "myFunction2": ["lambda", ...], } I can't decide if it has any advantage over the traditional "define" function, though.