Request xhr chapter

please can someone explain me the function used in this lesson like renderResponse function and renderRawResponse function and renderJsonREsponse and displaySuggetion() because these functions looks like complicated functions with new syntax.and as i know renderResponse function render an object response not an array included within a response