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
| // function compareByQuantity(left, right) { | |
| // return left.persons.length - right.persons.length | |
| // } | |
| // function compareByName(left, right) { | |
| // return left.gift.localeCompare(right.gift); | |
| // } | |
| function compare(left, right) { | |
| const len = right.persons.length - left.persons.length; // DESC |
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
| Auth:URL:http://auth.some-domain.com/token | |
| Auth:LastError: | |
| Auth:ClientID:some-client | |
| Auth:ClientSecret:some-secret | |
| Auth:Username:some-username | |
| Auth:Password:some-password | |
| Auth:AccessToken: | |
| Auth:AccessTokenExpiresIn:Mon, 01 Jan 2018 00:20:00 GMT | |
| Auth:RefreshToken: |