Open chocolatechimpcookie opened 7 years ago
I put some links to tutorials on the wiki https://github.com/chocolatechimpcookie/cfc_vacantlots_bid/wiki/NodeJS-and-ExpressJS
These links are wonderful. Thanks David.
^Nice, I'll have to check these out myself
Wicked and thanks!
On Thu, Jun 1, 2017 at 23:12 Alicina Memar notifications@github.com wrote:
^Nice, I'll have to check these out myself
— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/chocolatechimpcookie/cfc_vacantlots_bid/issues/9#issuecomment-305677924, or mute the thread https://github.com/notifications/unsubscribe-auth/AD6EM90GaiCFjBZj3tb1ctclcC5ujwmyks5r_32fgaJpZM4Nlz_q .
Paul, you should also checkout some ES6 (ECMASCRIPT 2015) syntax, Ben is probably using it: http://es6-features.org/#Constants http://ccoenraets.github.io/es6-tutorial/
Note, some of this may not work by default in node, a lot of it does; for example creating classes won't work in node by default. I know he's using 'let'.
Let? is this a Module? I'm putting the next line for ref. https://github.com/chocolatechimpcookie/cfc_vacantlots_bid/wiki/NodeJS-and-ExpressJS
let
is not a module, the first link is pretty good documentation. let
is an alternative var
. It provides block level scoping instead of function scoping. This way you don't have random variables getting out of scope and giving your errors.
For example:
function thingamabob()
{
var x = 'blah';
if(x=='blah')
{
let y = 6;
someotherfunction(y);
}
console.log(y);
//^this console log would be an error
}
So this ECMA Script6 is a tutorial. We are not concerned with ECMAScript 5? I'm looking at this confused but I suppose it is stating that 5 is obsolete? http://kangax.github.io/compat-table/es5/ ## http://kangax.github.io/compat-table/es5/
Question: When I enter the Node prompt on the command line I can I suppose go thur the tutorial, Thanks for this Cina. But is there another javascript prompt?
I have down loaded the flowing Treehouse videos to help my learning of Node.js, like NPM basics, express basics, node.js basics and introducing ES2015.
Paul will learn nodejs and what Ben is building so they can work together.