I took Ruby lessons in codeacademy last week. Some functions are the same with JavaScript and some are not like variable declaration, the “unless” statement, and many more.
This is how you declare a variable in JavaScript:
1 2 |
|
This is how it’s done in Ruby:
1 2 |
|