UFO-level-2/static/js/app.js
/**
 * General function to populate complete or filtered 
 * data set related to the UFO Sights
 * @param {juicyInfo} the data set
 */
General function to populate complete or filtered
data set related to the UFO Sights
@param {juicyInfo} the data set
General function to populate complete or filtered data set related to the UFO Sights @param { juicyInfo } the data set
function populateData(juicyInfo){
    juicyInfo.forEach(element => {
        var row = tbody.append("tr");
        Object.entries(element).forEach(([key, value]) => {
          var cell = row.append("td");
          cell.text(value);
        });
    });
}
function populateData ( juicyInfo ) { juicyInfo . forEach ( element => { var row = tbody . append ( "tr" ) ; Object . entries ( element ) . forEach ( ( [ key , value ] ) => { var cell = row . append ( "td" ) ; cell . text ( value ) ; } ) ; } ) ; }
General function to populate complete or filtered
 data set related to the UFO Sights
 @param {juicyInfo} the data set
General function to populate complete or filtered data set related to the UFO Sights @param { juicyInfo } the data set