Skip to content

Instantly share code, notes, and snippets.

View kygx-legend's full-sized avatar
🏀
Go go go

JIANG Guanxian kygx-legend

🏀
Go go go
View GitHub Profile
// (c) copyright unscriptable.com / John Hann | LegendLee
// License MIT
// For more robust promises, see https://github.com/briancavalier/when.js.
// last edited by LegendLee(legendlee1314@gmail.com)
function Promise() {
this._thens = [];
}
Promise.prototype = {
@kygx-legend
kygx-legend / gist:6790394
Created October 2, 2013 07:58
C++ keywords summary.
int char float double short long
unsigned signed
if else
switch case default
for while do
continue break goto
void return
auto register extern const volatile static
sizeof typedef
class new public private protected this try throw catch (true false NULL)