# Outgoing Messages (Cmd)
The `sendMessage` declaration lets us send messages out of Elm. guide.elm […] we could send out any of the types that work with flags.
Check out this `localStorage` example ellie to see a `Json.Encode.Value` getting sent out to JavaScript.