fix missing closing brace and bracket for promise (#37474)
There was a missing closing brace, bracket and semi-colon for the constructor new Promise in its definition
This commit is contained in:
		
				
					committed by
					
						 Oliver Eyton-Williams
						Oliver Eyton-Williams
					
				
			
			
				
	
			
			
			
						parent
						
							647945f4ac
						
					
				
				
					commit
					2287d73b4f
				
			| @@ -16,6 +16,7 @@ const myPromise = new Promise((resolve, reject) => { | ||||
|   } else { | ||||
|     reject("Promise was rejected"); | ||||
|   } | ||||
| }); | ||||
| ``` | ||||
|  | ||||
| The example above uses strings for the argument of these functions, but it can really be anything. Often, it might be an object, that you would use data from, to put on your website or elsewhere. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user