Merge pull request #11 from tijb/patch-2

Update 04_arrays.zig | Array Index
This commit is contained in:
Dave Gauer 2021-02-13 11:37:30 -05:00 committed by GitHub
commit c2cb0e798f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,11 +11,11 @@
// //
// Get values of an array using array[index] notation: // Get values of an array using array[index] notation:
// //
// const bar = foo[3]; // 5423 // const bar = foo[2]; // 5423
// //
// Set values of an array using array[index] notation: // Set values of an array using array[index] notation:
// //
// foo[3] = 16; // foo[2] = 16;
// //
// Get the length of an array using the len property: // Get the length of an array using the len property:
// //