[go: nahoru, domu]

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

Error in Sort function Bankist #115

Open
ivandercarlosdias opened this issue Nov 14, 2020 · 3 comments
Open

Error in Sort function Bankist #115

ivandercarlosdias opened this issue Nov 14, 2020 · 3 comments

Comments

@ivandercarlosdias
Copy link

displayMovements(currentAccount.movements, !sorted);

In this line needs to pass only "currentAccount"... not "currentAccount.movements"

@dogush07
Copy link

It's correct, because the displayMovements function accepts movements only not the whole account object. See the code below:
image

Therefore it's correct.

@harunjonuzi
Copy link

@ivandercarlosdias You just saved me, appreciate it :D

@malikokasha56
Copy link

finding error from last 2 hrs... finally found it here XD

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

No branches or pull requests

4 participants