Jump to content

Recommended Posts


Posted

in the original config.js that was in the package of wpi, double quotes were used

if double quotes were opened then single quotes were opened, the jscript will run normally

however i am not sure whether it will work the other way round, if we open single wuotes first then double quotes

Posted

There's some rule with quotes:

rule 1: Opened quotes must be closed. (eg 'helo friendly name' )

rule 2: ' is different from " (eg. WRONG: 'helo friendly name" )

rule 3: if you use a ' for opening a string, you can use " inside the string and vice versa. (eg. 'helo "friendly" name' )

rule 4: if you have to use the same type of quote inside a string you'd have to escape it (eg 'helo \'friendly\' name' )

Any one knows more ?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...