From 442875218b006133fe243681c02d4764377c48dc Mon Sep 17 00:00:00 2001 From: Alex Ash Date: Fri, 5 Sep 2025 15:01:39 +0200 Subject: [PATCH] FIxed function signature in "Anonymous functions" paragraph --- _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 26c672ae99..3761e841b8 100644 --- a/_overviews/scala3-book/scala-for-javascript-devs.md +++ b/_overviews/scala3-book/scala-for-javascript-devs.md @@ -514,7 +514,7 @@ Both JavaScript and Scala let you define anonymous functions, which you can pass

// a function or a method can be passed into another
// function or method -
def printA(a: Any, f: log: Any => Unit) = log(a) +
def printA(a: Any, log: Any => Unit) = log(a)