From 51c3f10b9fb8cb748a77582f73af3efe8cf5b7e7 Mon Sep 17 00:00:00 2001 From: David Boyne Date: Wed, 11 Sep 2024 10:17:17 +0100 Subject: [PATCH] Update example_versioned_docs/version-latest/16-closures.md Co-authored-by: Chris Rybicki --- example_versioned_docs/version-latest/16-closures.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example_versioned_docs/version-latest/16-closures.md b/example_versioned_docs/version-latest/16-closures.md index ba63c933..655bde4f 100644 --- a/example_versioned_docs/version-latest/16-closures.md +++ b/example_versioned_docs/version-latest/16-closures.md @@ -7,7 +7,7 @@ description: Closures with Wing keywords: [Wing language, variadic] --- -Closures are functions that captures variables from its surrounding lexical scope, allowing those variables to persist even after the function is executed outside its original context +[Closures](https://en.wikipedia.org/wiki/Closure_(computer_programming)) are functions that captures variables from its surrounding lexical scope, allowing those variables to persist even after the function is executed outside its original context. ```js playground example title="main.w"