What is the difference of using var and not using var in REPL while dealing with variables?


Use variables to store values and print later. if var keyword is not used then value is stored in the variable and printed. Wheras if var keyword is used then value is stored but not printed. You can use both variables later.


© 2017