You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					15 lines
				
				352 B
			
		
		
			
		
	
	
					15 lines
				
				352 B
			| 
								 
											3 years ago
										 
									 | 
							
								'use strict'
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								// You may be tempted to copy and paste this, 
							 | 
						||
| 
								 | 
							
								// but take a look at the commit history first,
							 | 
						||
| 
								 | 
							
								// this is a moving target so relying on the module
							 | 
						||
| 
								 | 
							
								// is the best way to make sure the optimization
							 | 
						||
| 
								 | 
							
								// method is kept up to date and compatible with
							 | 
						||
| 
								 | 
							
								// every Node version.
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								function flatstr (s) {
							 | 
						||
| 
								 | 
							
								  s | 0
							 | 
						||
| 
								 | 
							
								  return s
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								module.exports = flatstr
							 |