Skip to content

Instantly share code, notes, and snippets.

@cherscarlett
Last active March 6, 2019 01:03
Show Gist options
  • Save cherscarlett/eec0eed8cf92a5cb8f53956d59803984 to your computer and use it in GitHub Desktop.
Save cherscarlett/eec0eed8cf92a5cb8f53956d59803984 to your computer and use it in GitHub Desktop.
// assume a function retrieves data from the repositories and leaves us with a 2-dimensional array
// the size of the number of the repositories, and each repository's array containing
// key value paired objects of the byte size and name of the language
// repositories:
// [
// [
// {
// name: 'CSS',
// size: 2000
// },
// {
// name: 'Javascript',
// size: 3000
// }
// ],
// [
// {
// name: 'Vue',
// size: 10000
// },
// {
// name: 'Javascript',
// size: 5000
// }
// ]
// ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment