Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const user = {
- id: '1',
- name: 'John',
- interests: [{
- id: '1',
- name: 'Interest1',
- interestedUsers: [{
- id: '1',
- name: 'John',
- interests: [{
- id: '1'
- }, {
- id: '2'
- }, {
- id: '3'
- }]
- }, {
- id: '3',
- name: 'Jane',
- interests: [{
- id: '1'
- }, {
- id: '3'
- }]
- }]
- }, {
- id: '2',
- name: 'Interest2',
- interestedUsers: [{
- id: '1',
- name: 'John',
- interests: [{
- id: '1'
- }, {
- id: '2'
- }, {
- id: '3'
- }]
- }]
- }, {
- id: '3',
- name: 'Interest3',
- interestedUsers: [{
- id: '2',
- name: 'Jimmy',
- interests: [{
- id: '3'
- }]
- }, {
- id: '3',
- name: 'Jane',
- interests: [{
- id: '1'
- }, {
- id: '3'
- }]
- }]
- }]
- };
Add Comment
Please, Sign In to add comment