Tagged Questions
1
vote
10answers
454 views
Convert JSON string to Key / Value Arrays
Convert JSON (key/value pairs) to a native arrays of keys & values, in your language.
var X = '{"a":"a","b":"b","c":"c","d":"d","e":"e","f":"f9","g":"g2","h":"h1"}';
The value array could be ...
11
votes
12answers
1k views
Javascript: Create a 10x10 array of 1s
Obviously this challenge would be trivial with separate functions and libraries, so they aren't allowed.
Your code must conform to an ECMAscript specification (any spec will do), so no ...