Skip to main content
Code sample in Swift, C# and Java
Main menu
About
History
Swift
C#
Java
Python
You are here
Home
»
Forums
»
Swift
»
Swift: Arrays and collections
»
Swift: Arrays
User login
Username
*
Password
*
Request new password
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
What code is in the image?
*
Enter the characters shown in the image.
Copying array in Swift
Submitted by
obraztsov
on Tue, 09/27/2016 - 09:14
Forums:
Swift: Arrays
var
numbers1: [
Int
] = [
1
,
2
,
3
,
4
,
5
]
let
numbers2 = numbers1
Log in
to post comments