mirror of
				https://github.com/flynx/walk.js.git
				synced 2025-11-04 05:50:13 +00:00 
			
		
		
		
	fixed a typo...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									b28589d13c
								
							
						
					
					
						commit
						c4d1a26576
					
				@ -89,7 +89,7 @@ And for *flat* lists `.reduce(..)` and friends are simpler and more logical. `wa
 | 
			
		||||
				// abort search, report number of nodes visited...
 | 
			
		||||
				stop(this.nodes_visited+1)
 | 
			
		||||
			: e instanceof Array ?
 | 
			
		||||
				next('queue', ...e)
 | 
			
		||||
				next('do', ...e)
 | 
			
		||||
			: (this.nodes_visited++, r) }, false)
 | 
			
		||||
 | 
			
		||||
	containsZero( [1, [2, 0], 4, [[5], 6]] ) // -> 3
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user