Lesson 17 of 24 · +130 xp

Closure

Inline function.

Explained simply

Your task

Write: let sq = { (x: Int) -> Int in return x * x }

closure.swift
← Back