title: Should this JavaScript thing be an object or a singleton class?
body: <p>I'm working on a JavaScript software that bears resemblance to Windows. It has a desktop, taskbar, etc. and I'm wondering whether I should make the desktop a class or an object?</p>
  
  <p>I'm thinking about making a process list array that holds all instances of objects. It would hold an instance of desktop. Does this make sense? Or should I just have one global class called desktop that I don't instantiate?</p>