+ 2

What is the difference bw myvariable and myVariable

30th Apr 2017, 2:26 PM
Priyankashi Barnwal
Priyankashi Barnwal - avatar
2 Réponses
+ 7
If it is a sensitive language then they are different variables: fn main() { let myVar = 10; let myvar = 10; //No error } //Case insensitive language: var myVar = 10; var myvar = 10; //error
30th Apr 2017, 2:29 PM
Complex
Complex - avatar
+ 4
a capital V
30th Apr 2017, 2:28 PM
Alex Lesage
Alex Lesage - avatar