+ 1

Plz tell me the difference between 'let' and 'var' in swift

30th Aug 2017, 9:05 AM
Sayantan Sinharay
Sayantan Sinharay - avatar
2 Answers
+ 1
Var creates an ordinary variable, let creates a constant which value cannt be changed.
30th Aug 2017, 9:55 AM
Jonas Schröter
Jonas Schröter - avatar
+ 1
Thanks
1st Sep 2017, 2:50 AM
Sayantan Sinharay
Sayantan Sinharay - avatar