You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My goal is to use an ARRAY indexed JSON storage schema instead of object keys, to save space in the JSON string. I'd rather not do this optimization by hand writing array literals with heavy comments.
(function() {
function NAME () {return 0;}
function ADDRESS() {return 1;}
function TELEPHONE() {return 2;}
var a = [];
a[NAME()] = 1;
a[ADDRESS()] = 2;
a[TELEPHONE()] = 3;
console.log(a);
})()
```
The text was updated successfully, but these errors were encountered:
uglify-js 3.17.4
input
commandline
config
output
Why wasn't this optimized to
?
My goal is to use an ARRAY indexed JSON storage schema instead of object keys, to save space in the JSON string. I'd rather not do this optimization by hand writing array literals with heavy comments.
The text was updated successfully, but these errors were encountered: