Getting all values from a Choice field in SharePoint 2010 using CSOM

I recently ran into an issue where I needed to get possible values for a SharePoint 2010 choice column.  Thought I would share the code in case anyone else runs across this need.  This code uses the ECMAScript Client-Side Object Model.  //Variable to hold the value once returned from SharePoint client.svc var distinctChoices = [],…