Skip to main content
The 2025 Developer Survey results are in. Explore insights into technology and tools, careers, community and more. View results.

All Questions

Filter by
Sorted by
Tagged with
4 votes
2 answers
3k views

Download entire localStorage as file

I would like to download the entire contents from localStorage to a json file (in a "clear" formatting). I've tried this and it works perfectly. However, ...
Gibberish's user avatar
  • 109
5 votes
1 answer
1k views

Program for calculating and ranking scores

I've recently completed a vanilla JS challenge . It is a method for calculating and ranking scores. If possible, I would love to make it better. Any suggestions are welcome. Challenge Directions: The ...
gracie catherine's user avatar
6 votes
1 answer
690 views

“Real world” JSON transformation using Node.js

Background I transformed a non-trivial JSON response that uses arrays into a nested object eliminating some of the original properties inserting a new summary property that is a unique list of ...
Timothy Vogel's user avatar
3 votes
1 answer
121 views

An interesting use of the reduce function to convert tab-delimited data into JSON

I am learning functional programming in JavaScript. This is some code from a video tutorial by funfunfunction. I am particularly concerned about the way the existence of the customer key is checked in ...
antonky's user avatar
  • 133
1 vote
1 answer
59 views

`new Function` for json reference

I have JSON with references to other parts in that JSON file. ...
Randy's user avatar
  • 302
2 votes
0 answers
98 views

Extracting data for a tag cloud using Lazy.js

I've just started using Lazy.js, which is my first exposure to a "functional style" javascript library. I'm still utterly lost as to which of the hundred different functional javascript libraries to ...
Toadfish's user avatar
  • 295
1 vote
2 answers
87 views

Getting the first selected item from a list of Backbone models

Current code (ES6): ...
benhowdle89's user avatar