I Like to use custom label same way as I can use in Apex class. I like to use it in java script alerts/messages.
My main concern is "How to pass some argument so that I can use it within java script code of VF"
i.e. string.format(System.Label.msg, new string[] {‘Label’}) <br />
Where Label.msg = 'Hello, I am a {0}
But I am not able to use it.