Robin

Navigation

Skip navigation.

Search

Site navigation

Email conversation

FromRobin
ToMe
SubjectAddition to your semicolon tutorial
Date15 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
FromMe
ToRobin
SubjectRe: Addition to your semicolon tutorial
Date23 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/
This site was created by Mark "Tarquin" Wilton-Jones.
Don't click this link unless you want to be banned from our site.