mirror of
				https://github.com/krahets/hello-algo.git
				synced 2025-11-04 06:07:20 +08:00 
			
		
		
		
	Update docs/chapter_computational_complexity/time_complexity.md
Co-authored-by: Justin Tse <xiefahit@gmail.com>
This commit is contained in:
		@ -79,6 +79,7 @@ $$
 | 
				
			|||||||
=== "JavaScript"
 | 
					=== "JavaScript"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    ```js title=""
 | 
					    ```js title=""
 | 
				
			||||||
 | 
					    // 在某运行平台下
 | 
				
			||||||
    function algorithm(n) {
 | 
					    function algorithm(n) {
 | 
				
			||||||
        var a = 2; // 1 ns
 | 
					        var a = 2; // 1 ns
 | 
				
			||||||
        a = a + 1; // 1 ns
 | 
					        a = a + 1; // 1 ns
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user