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

Return types, pass by reference vs pass by value #20261

Merged
merged 1 commit into from
Oct 29, 2018
Merged

Return types, pass by reference vs pass by value #20261

merged 1 commit into from
Oct 29, 2018

Conversation

iyves
Copy link
Contributor

@iyves iyves commented Oct 18, 2018

Expanded on what data types can be returned. Also added section for the differences between passing an object as a parameter by value versus by reference.

  • [ x ] I have read freeCodeCamp's contribution guidelines.
  • [ x ] My pull request has a descriptive title (not a vague title like Update index.md)
  • [ x ] My pull request targets the master branch of freeCodeCamp.
  • [ x ] None of my changes are plagiarized from another source without proper attribution.
  • [ x ] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.

Closes #XXXXX

Expanded on what data types can be returned. Also added section for the differences between passing an object as a parameter by value versus by reference.
@moT01 moT01 merged commit a3b20c0 into freeCodeCamp:master Oct 29, 2018
@moT01
Copy link
Member

moT01 commented Oct 29, 2018

looks good @iyves, thanks for contributing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants