title: How to get & set Cosmos Db continuation token in javascript
body: <p>Using the V2 Javascript SDK for CosmosDb, I'm getting the TOP 10 items from the db:</p>
  
  <pre><code>var query = "SELECT TOP 10 * FROM People"
  
  const querySpec = {
      query: query
  };
  
  var result = await container.items.query(querySpec).toArray();
  </code></pre>
  
  <p>How do I get the continuation token for the next 10 results and how do I set it in my next query?</p>