Created
January 6, 2014 08:05
-
-
Save silianlinyi/8279685 to your computer and use it in GitHub Desktop.
清空数组
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var myArray = [12 , 222 , 1000 ]; | |
myArray.length = 0; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment