Hello, I do the nodeschool.io course and on the javascripting part I have to put the length of a string to the screen.
So I did this : /** * Created with Ecomm - node. * User: roelof1967 * Date: 2014-12-27 * Time: 06:34 PM * To change this template use Tools | Templates. */ var example = "example string" console.log(example.length); Is this valid and good javascript or can I better use a variable for the length and use that on console.log ? Roelof -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/19e45849-6ce4-4634-9359-415771f8ce43%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
