mirror of
https://github.com/Stone-Red-Code/website.git
synced 2026-09-05 16:06:15 +02:00
cleaned up structure, added styled components
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@ date: "2019/07/26"
|
||||
|
||||
The first naive attempt, using new Promise for something that already returns a promise.
|
||||
|
||||
```javascript
|
||||
```js
|
||||
function doAsync(number) {
|
||||
return new Promise(function(resolve, reject) {
|
||||
doDatabase().then(function(dbResult) {
|
||||
Reference in New Issue
Block a user