11 lines
		
	
	
		
			417 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
		
		
			
		
	
	
			11 lines
		
	
	
		
			417 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| 
								 | 
							
								---
							 | 
						||
| 
								 | 
							
								title: Subtract One Number from Another with JavaScript
							 | 
						||
| 
								 | 
							
								---
							 | 
						||
| 
								 | 
							
								## Subtract One Number from Another with JavaScript
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<!-- The article goes here, in GitHub-flavored Markdown. Feel free to add YouTube videos, images, and CodePen/JSBin embeds  -->
							 | 
						||
| 
								 | 
							
								Using the '-' subtraction operator, you can get the difference of two numbers...
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								    var diff1 = 30 - 14; // Difference is 16
							 | 
						||
| 
								 | 
							
								    var diff2 = 90 - 60; // Difference is 30
							 |