And these are examples of where you should not put a semicolon:
if( x < 5 ) {
x++;
};
this is correct but just by the way
On 22 Jun., 16:14, Barry Hunter <[email protected]> wrote:
> On Wed, Jun 22, 2011 at 7:38 AM, Abhishek Bhattacharya
>
> <[email protected]> wrote:
> > Thanks a lot, Mike.
> > I was unaware of the "diff" and "cmp"!
> > But, one question,
> > after we've defined the "LatLng" coordinates, there's a "semi-colon" in the
> > original code, but, it works without the code.
>
> Not really a maps question, but general javascript syntax
>
> http://www.howtocreate.co.uk/tutorials/javascript/semicolons
>
>
>
>
>
>
>
>
>
> > Am I right toward this? If yes, why is it then given in the original code?
> > Thanks,
>
> > Abhishek
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google Maps JavaScript API v3" group.
> > To view this discussion on the web visit
> >https://groups.google.com/d/msg/google-maps-js-api-v3/-/1TqW-KoCjiMJ.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected].
> > For more options, visit this group at
> >http://groups.google.com/group/google-maps-js-api-v3?hl=en.
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-maps-js-api-v3?hl=en.