web/apps/hello-elasticsearch/js/hello-elasticsearch.js
function updateResults(response) {
  responseHits.textContent = response.hits.total;
  responseTime.textContent = response.took;
}
function updateResults(response) {
  responseHits.textContent = response.hits.total;
  responseTime.textContent = response.took;
}
function updateResults ( response ) { responseHits . textContent = response . hits . total ; responseTime . textContent = response . took ; }
Update the results
Update the results