mirror of https://github.com/webpack/webpack.git
				
				
				
			
		
			
				
	
	
		
			13 lines
		
	
	
		
			286 B
		
	
	
	
		
			JavaScript
		
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			286 B
		
	
	
	
		
			JavaScript
		
	
	
	
import { resetCounter, print } from "./methods";
 | 
						|
 | 
						|
setTimeout(async () => {
 | 
						|
	const counter = await import("./counter");
 | 
						|
	print(counter.value);
 | 
						|
	counter.increment();
 | 
						|
	counter.increment();
 | 
						|
	counter.increment();
 | 
						|
	print(counter.value);
 | 
						|
	await resetCounter();
 | 
						|
	print(counter.value);
 | 
						|
}, 100);
 |