Declare a closure

 Problem

I want to declare and use a simple closure.



 Recipe


// Declare our closure
let myClosure = {
    print("Hello from myClosure!")
}

// Call it
myClosure()
				


 Playground