We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
// Declare and initialize int[] a = [1,2,3] println(a)
// Declare an empty array and specify the length int[] b = (4)[]; println(b)
// Append data to array. a.append(4) println(a);
The text was updated successfully, but these errors were encountered:
感谢建议。
[]
{}
Sorry, something went wrong.
因为现在大部分语言都是用的**[]**,其它语言转变过来比较易理解,直观,不会有抵触心理。
append() 函数已优化,不过数组语法还得考虑一下。 #15
append()
No branches or pull requests
// Declare and initialize
int[] a = [1,2,3]
println(a)
// Declare an empty array and specify the length
int[] b = (4)[];
println(b)
// Append data to array.
a.append(4)
println(a);
The text was updated successfully, but these errors were encountered: