Advertisement
Guest User

Untitled

a guest
Mar 8th, 2016
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // my data tree
  2. {
  3.     entity: {
  4.         externalEntity: {
  5.             persons: [],
  6.             organizations: []
  7.         },
  8.         internalEntity: {
  9.             humanResources: [],
  10.             departments: []
  11.         }
  12.     }
  13. }
  14.  
  15. // returns the final type of entity (person, organization, humanResource or department)
  16. function returnTypeOfEntity() {}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement