Forums

  • # November 29, 2012 at 8:03 pm

    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.

    # November 29, 2012 at 8:33 pm

    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.

    __
    # November 29, 2012 at 11:44 pm

    > 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)

You must be logged in to reply to this topic.

icon-anchoricon-closeicon-emailicon-linkicon-logo-staricon-menuicon-nav-guideicon-searchicon-staricon-tag