Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

M1 JS Party - Add callouts for Ruby/JS differences #294

Open
hfaerber opened this issue Sep 24, 2024 · 0 comments
Open

M1 JS Party - Add callouts for Ruby/JS differences #294

hfaerber opened this issue Sep 24, 2024 · 0 comments
Labels

Comments

@hfaerber
Copy link
Contributor

hfaerber commented Sep 24, 2024

In M2 we identified differences between Ruby and JS that created stumbling blocks for students. We should call these out directly in the M1 JS Party exercises.

  • Invoking a function in JS requires ()
  • JS can use bracket or dot notation to access data in an object (hash)
  • In Ruby they can only access a data set within a method if they pass it as an argument. JS can access global variables.
@hfaerber hfaerber added the M1 label Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant