Javascript promises are a way to control asynchronous communication within your code. Each promise is a placeholder for an eventual response. By using promises you can queue your code to only execute when the response is returned. This is useful when waiting on AJAX requests, reading content from a file, or performing computationally heavy calculations....