Skip to content

Instantly share code, notes, and snippets.

/* Popular Ice Cream Totals Quiz
*
* Using the data array and .reduce():
* - return an object where each property is the name of an ice cream flavor and
* each value is an integer that's the total count of that flavor
* - store the returned data in a new iceCreamTotals variable
*
* Note:
* - do not delete the data variable
* - do not alter any of the data content
@suyesh
suyesh / index.js
Last active December 14, 2020 04:17
// Changes too Carlie's async func code
//This program is fetching data from google trend api for a particular job title
var googleTrends = require('google-trends-api');
var fs = require('fs');
var data;
function wild(){
googleTrends.autoComplete({keyword: "blue"})