mirror of
				https://codeberg.org/ashley/poke
				synced 2025-07-17 16:52:11 +00:00 
			
		
		
		
	twenyone
This commit is contained in:
		
							parent
							
								
									00e8afb72e
								
							
						
					
					
						commit
						84057e8649
					
				| @ -516,6 +516,11 @@ function isMathExpression(query) { | |||||||
| } | } | ||||||
| 
 | 
 | ||||||
| function evaluateMathExpression(expression) { | function evaluateMathExpression(expression) { | ||||||
|  |     // twenyone | ||||||
|  |     if (expression.replace(/\s+/g, '') === '9+10') { | ||||||
|  |         return '21'; | ||||||
|  |     } | ||||||
|  | 
 | ||||||
|     try { |     try { | ||||||
|         return eval(expression); |         return eval(expression); | ||||||
|     } catch (error) { |     } catch (error) { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 ashley
						ashley