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
| /** | |
| * This is an example namespace description. | |
| * @namespace | |
| */ | |
| var MyNamespace = { | |
| /** | |
| * This is an example namespace member. | |
| */ | |
| foo: ‘foo’ | |
| }; |
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 shouldReturnPromise = () => { throw "test"; } | |
| const withAsyncAwait = async () => { | |
| try { | |
| await shouldReturnPromise() | |
| } catch (e) { | |
| console.log('Handled: ' + e) | |
| } | |
| } |
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 FindProxyForURL(url, host) { | |
| PROXY = "PROXY 192.168.6.35:808" | |
| if (shExpMatch(host,"*.demandware.net")) { | |
| return PROXY; | |
| } | |
| if (shExpMatch(host,"*.demandware.com")) { | |
| return PROXY; | |
| } |
OlderNewer