Moraki Moraki - 1 year ago 137
Javascript Question

what does 0X mean?

what does 0X mean? I saw it mentioned in class, but my teacher had no idea either. Is it synonymous to the word hexadecimal or does it mean all values? Thanks for your help guys!

Answer Source

Yes, it means the following value is in hexadecimal:

var num = 0xFF; //255  -  1111 1111
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download