mirror of
				https://github.com/krahets/hello-algo.git
				synced 2025-11-04 06:07:20 +08:00 
			
		
		
		
	@ -74,7 +74,11 @@ comments: true
 | 
				
			|||||||
=== "Go"
 | 
					=== "Go"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    ```go title=""
 | 
					    ```go title=""
 | 
				
			||||||
 | 
					    // 使用多种「基本数据类型」来初始化「数组」
 | 
				
			||||||
 | 
					    var numbers = [5]int{}
 | 
				
			||||||
 | 
					    var decimals = [5]float64{}
 | 
				
			||||||
 | 
					    var characters = [5]byte{}
 | 
				
			||||||
 | 
					    var booleans = [5]bool{}
 | 
				
			||||||
    ```
 | 
					    ```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
=== "JavaScript"
 | 
					=== "JavaScript"
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user