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

Update index.js #6

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

BlackHole1
Copy link

The first parameter should be judged

The first parameter should be judged
index.js Outdated
var olen = one.length,
tlen = two.length,
idx = -1,
arr = [];
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please revert this and use the same formatting as the rest of the code.

revert this and use the same formatting as the rest of the code.
@BlackHole1
Copy link
Author

OK

index.js Outdated
var idx = 0;
if(!Array.isArray(arr)) return arr;

var len = arguments.length,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be a ; at the end of the line.

index.js Outdated Show resolved Hide resolved
Co-Authored-By: BlackHole1 <158blackhole@gmail.com>
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

3 participants