Email conversation
From | Robin |
To | Me |
Subject | Addition to your semicolon tutorial |
Date | 15 September 2009 17:56 |
Hey Mark, was reading through this page:
http://www.howtocreate.co.uk/tutorials/javascript/semicolons
Very helpful, but it might be pointing out that a full-stop will also
trigger 'line combining' in the absence of a semicolon. I guess this is
similar to your square-bracket example, but the full-stop is probably in
greater use these days due to the chaining model used in [brand] and other
assorted libraries.
-Robin
From | Me |
To | Robin |
Subject | Re: Addition to your semicolon tutorial |
Date | 23 September 2009 22:01 |
Robin,
> Very helpful, but it might be pointing out that a full-stop will also
> trigger 'line combining' in the absence of a semicolon.
A good suggestion. I have expanded the chapter with more details of what
will allow commands to continue on the next line (basically anything that is
valid at that position in a command, including full-stop and other
operators).
Mark 'Tarquin' Wilton-Jones - author of http://www.howtocreate.co.uk/