mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-15 08:08:03 +01:00
This is technically redundant since it's equivalent to:
var f = Fn.new { ... }
But it seems worth adding if we're going to make functions and a
functional/procedural style intuitive and natural in Wren. It's a bit
of sugar, but it doesn't hurt much to add and makes the code read a
lot better.