This document discusses using JavaScript with Amazon Web Services (AWS) in different environments including browsers, mobile, backend, internet of things (IoT), and edge computing. It provides code examples for using AWS services like Cognito, S3, IoT, and Greengrass in JavaScript applications across these environments. Specifically, it shows how to use JavaScript to register and authenticate users with Cognito, upload files to S3, connect IoT devices, and implement edge computing solutions with Greengrass.