Review of the structure and function of JavaScript APIs