My serverside code in Node.JS (using Express) is as follows
res.render('index', {
startDateTime: startDateTime,
endDateTime: endDateTime
});
I'd like to access startDateTime and endDateTime on the clientside using Javascript. I know I can access them using Jade by doing #{startDateTime}
. Is there a similar approach for Javascript?