daily pastebin goal
88%
SHARE
TWEET

Untitled

a guest Apr 17th, 2018 60 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. [
  2.   { name: 'a', requires: ['b', 'c'] },
  3.   { name: 'b', requires: ['c'] },
  4.   { name: 'c', requires: [] },
  5. ]
  6.    
  7. [
  8.   { name: 'c', requires: [] }, // first, no dependencies
  9.   { name: 'b', requires: ['c'] }, // second, because it needs `c` first
  10.   { name: 'a', requires: ['b', 'c'] }, // last, because requires both the others
  11. ]
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top