1. Preheat the oven to 180°C. Spray a 13-by-9-inch baking dish with nonstick cooking spray.
2. Mix the coconut and condensed milk in a bowl until well combined. Spread the mixture evenly in the prepared baking dish. Bake until the coconut is completely browned with dark and crispy edges, about 20 minutes.
3. Cool slightly, then cut into squares. Serve warm or at room temperature.