diff --git a/_overviews/scala3-book/scala-for-javascript-devs.md b/_overviews/scala3-book/scala-for-javascript-devs.md index 0def7dcbc..fbad84e9f 100644 --- a/_overviews/scala3-book/scala-for-javascript-devs.md +++ b/_overviews/scala3-book/scala-for-javascript-devs.md @@ -970,7 +970,7 @@ val nums = List(1, 2, 3) // preferred
for i <- nums do -
  val i = i * 2 +
  val j = i * 2
  println(j)

// also available