Question from the Swift test

How to declare a variable whose initial value will be calculated only on the first call

Easy

What does the lazy keyword on a variable allow?

Author: Smart&SoftStatus: PublishedQuestion passed 373 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!