From f00caf023af92a8df893f409eb7da9fdfbfd6714 Mon Sep 17 00:00:00 2001 From: tim8west Date: Sun, 5 Sep 2021 09:10:43 -0700 Subject: [PATCH] word omitted --- book/interop/flags.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/interop/flags.md b/book/interop/flags.md index c4a3820c..13b8e607 100644 --- a/book/interop/flags.md +++ b/book/interop/flags.md @@ -91,7 +91,7 @@ subscriptions _ = Sub.none ``` -The only important here is the `init` function says it takes an `Int` argument. This is how Elm code gets immediate access to the flags you pass in from JavaScript. From there, you can put things in your model or run some commands. Whatever you need to do. +The only important difference here is the `init` function says it takes an `Int` argument. This is how Elm code gets immediate access to the flags you pass in from JavaScript. From there, you can put things in your model or run some commands. Whatever you need to do. I recommend checking out [this `localStorage` example](https://github.com/elm-community/js-integration-examples/tree/master/localStorage) for a more interesting use of flags!