ThatAIguyA world of ideas

THE CONSCIOUSNESS ATLAS
Read. Experiment. Follow the evidence.

ConsciousnessLearn · Explore · Joseph Anady

Janady13/School-Work / School Work/Turn Objects into Flexible Arrays/page1.js

Source identity, revision, and recovered contents.

GitHub sourceSource text recovered

Source identity

FieldRecorded value
Source typeGitHub source
Original recordJanady13/School-Work / School Work/Turn Objects into Flexible Arrays/page1.js
DateNot specified in source
RepositoryJanady13/School-Work
Revision4a666c890caf7c43c47d0572dbcc287373c7a78e
Branchmain
Path or archive memberSchool Work/Turn Objects into Flexible Arrays/page1.js
Original SHA-2569be5e34f4f31a6da57d07f9687d91781da2c885218477cdf606802672410c097
Git blob SHA2eb87fb39da970ad6fbb0bfbc5429f92a8ef2dda
Reading-copy SHA-2569be5e34f4f31a6da57d07f9687d91781da2c885218477cdf606802672410c097

Original source ↗

Recovered source transcript

// Object.entries give you the array of arrays. It is splitting up the arrays and giving them back to you. const users = { '2345234': { name: "John", age: 29 }, '8798129': { name: "Jane", age: 42 }, '1092384': { name: "Fred", age: 17 } }; const usersOver20 = Object.entries(users).reduce((acc, [id, user]) => { if(user.age > 20){ acc.push({...user, id}) } return acc; } , [])

Search equations, builds, manuscript text, and recovered sources.