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

以下两句何解啊,老师! #7

Open
ritsuyan opened this issue May 12, 2016 · 1 comment
Open

以下两句何解啊,老师! #7

ritsuyan opened this issue May 12, 2016 · 1 comment

Comments

@ritsuyan
Copy link

 if (imgsArrangeTopArr && imgsArrangeTopArr[0]) {
   imgsArrangeArr.splice(topImgSpliceIndex, 0, imgsArrangeTopArr[0]);
 }

 imgsArrangeArr.splice(centerIndex, 0, imgsArrangeCenterArr[0]);
@yugasun
Copy link

yugasun commented May 17, 2016

同学,你可以查下splice函数的用法,就知道了

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

2 participants