Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript single/double quotes

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #41067
    Chester
    Participant

    Hi all.

    What’s a good practice on using ‘single’ and “double” quotes on a Javascript/jQuery script?
    Like when and where to use each?

    Thanks.

    #115988
    TheDoc
    Member

    As Andy has mentioned, it really comes down to personal preference.

    While I know you are asking specifically about JS, keep in mind that there is a difference sometimes in PHP.

    #115999
    __
    Participant

    > While I know you are asking specifically about JS, keep in mind that there is a difference sometimes in PHP.

    …all the time. just not always a different outcome : )

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.