๐
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class SimpleDB { | |
| constructor(aws, options) { | |
| this._AWS = aws; | |
| this._apiVersion = options.apiVersion; | |
| this._simpleDB = new this._AWS.SimpleDB({ apiVersion: this._apiVersion }); | |
| } | |
| batchDelete(params) { | |
| return new Promise((resolve, reject) => { | |
| this._simpleDB.SDKFunctionName(params, (error, data) => { | |
| if (error) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const _ = require('lodash'); | |
| const array = ['A', 2, 3, | |
| 'B', 3, 5, | |
| 'B', 4, 1, | |
| 'A', 6, 2, | |
| 'C', 7, 1, | |
| 'A', 9, 1]; | |
| const list = []; |
NewerOlder