From dd9bbab6ec3b22abced1392718d1c81a1ccf74fc Mon Sep 17 00:00:00 2001 From: Daniel X Moore <daniel@danielx.net> Date: Sat, 9 Sep 2023 12:06:59 -0700 Subject: [PATCH] Update civet.dev/cheatsheet.md Co-authored-by: Erik Demaine <edemaine@mit.edu> --- civet.dev/cheatsheet.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/civet.dev/cheatsheet.md b/civet.dev/cheatsheet.md index 7dcfe68e..dea4cc9b 100644 --- a/civet.dev/cheatsheet.md +++ b/civet.dev/cheatsheet.md @@ -160,7 +160,7 @@ people.map .name // people.map($ => $.name) numbers.filter & % 2 is 0 // numbers.filter($ => $ % 2 === 0) -// # Conditional declarations +// Conditional declarations throw error if { error } := result if [, dir, base] := /^(.*\/)?([^/]*)$/.exec file