Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

Please refactor this! #29

Open
planteater opened this issue Oct 22, 2019 · 0 comments
Open

Please refactor this! #29

planteater opened this issue Oct 22, 2019 · 0 comments
Assignees

Comments

@planteater
Copy link

Looks bad!

In underscore.js (Lines 45-49)


		var temp = sample[index];
		sample[index] = sample[rand];
		sample[rand] = temp;
	}
	return sample.slice(0, n);

Posted via CodeStream

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

No branches or pull requests

2 participants