JavaScript

Topic: Anything JavaScript, ECMAScript including Node, React, ...
Dec 11, 2016 03:08
can someone help me to get over this callback mountain?
i just want a function to make a request and return a response body.
but libraries like "request" and "fetch" uses callabcks
Jun 25, 2015 20:32
@Cereal didn't work for me :( but thank you
Jun 25, 2015 20:24
oh the dictionary has to be anonymous as well..
Jun 25, 2015 20:22
is there a way to initialize key in dictionary as a literal from variable?
ex) { someValue: 20 } where someValue = 1. i want the dictionary to be {1: 20}, not {"someValue": 20}.
 

Python

Room rules: sopython.com/chatroom Code formatting guide: tinyu...
Jun 23, 2015 16:09
oh constant. thank you
Jun 23, 2015 16:08
can someone give me a term of variables that is static and fixed in python? ex) things you use #DEFINE in C?