Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

go Array’s length is part of its type.

package main

func main() {
    a := [3]int{5, 78, 8}
    var b [5]int
    b = a
}
 
PREVIOUS NEXT
Tagged: #length #part
ADD COMMENT
Topic
Name
5+3 =