Skip to content

Instantly share code, notes, and snippets.

View dmfilipenko's full-sized avatar
💭
🧙‍♂️⚛️

Dmytro Filipenko dmfilipenko

💭
🧙‍♂️⚛️
View GitHub Profile
function getFriends( userId, people ){
var user, friendList, friendsIdList, friendsList = null;
function checkUser( id ){
return people[id]
}
function findPeople( id ){
var foundPerson;
people.forEach( function ( person ){