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

Refactoring #58

Open
tonylomax opened this issue Nov 15, 2019 · 0 comments
Open

Refactoring #58

tonylomax opened this issue Nov 15, 2019 · 0 comments
Assignees
Labels
compliment enhancement New feature or request

Comments

@tonylomax
Copy link

Your code is pretty neat, if you have time I would start thinking of ways to make it even better. For example, could you write a function that does the below?

trackInfo.id = trackList[randomIndex].track.track_id;
            trackInfo.artist = trackList[randomIndex].track.artist_name;
            trackInfo.track = trackList[randomIndex].track.track_name;

lisa

@tonylomax tonylomax added enhancement New feature or request compliment labels Nov 15, 2019
@kin-au kin-au self-assigned this Nov 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compliment enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants