Szybkie zamknięcie
// declare a closure
var greet = {
print("Hello, World!")
}
// call the closure
greet()
SAMER SAEID
// declare a closure
var greet = {
print("Hello, World!")
}
// call the closure
greet()
{
print("Hello World")
}