Tailored Brands interview question

something with a function that need to call to another function - very java script oriented.