How can I create debug variables in IE11 developer tools console like in Chrome, for example?
I have tried
1) a = new String("latex");
2) var a = new String("latex");
For the first one I got a Variable undefined in strict mode
For the second one I got undefined and whenever I try to access variable "a" I get the error 'a' is undefined
I am not sure what kind of javascript you're into with this
new String("...")syntax, but for what I know the modern javascript in most browsers can recieve string values intovartype parameters, as well as many other basic types - i.evar a = "latex"EDIT:
Apperently there is something such as new String - my bad :) As mentioned in the comments, you can access it via
<parameter name>.toString()if you want to be able to access the properties; Just learnt that myself today. :)More about js strings you can find here.