title: Google Apps Scripts: Is there a Key-Value List Datatype?
body: <p>i wanted to use Google Apps Scripts to analyze a Google Sheet.
  I want to analyze how common certain answers are and wanted to use a map or dictionary to implement this. </p>
  
  <p>My problem is, no suitable datatype seems to work inside Google Apps Script. I also read the tipp to just use objects with a key value, but it doesnt seem like Google Apps Scripts support the values parameter, generally associated with javascript objects.</p>
  
  <p>So are there any types of key-value datastructure, that i can use and that has working functions for giving out the keys or values ?</p>