From 6fb24325798e54cab9d51b077ec83a1a669e5d52 Mon Sep 17 00:00:00 2001 From: Luis Osio Chico <72286405+LOsioChico@users.noreply.github.com> Date: Sun, 30 Jun 2024 19:20:19 -0700 Subject: [PATCH] fix scala comparison for loop with js example --- _overviews/scala3-book/scala-for-javascript-devs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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