Computer Science, asked by vickysmn9153, 10 months ago

How to format hexadecimal Number in JavaScript?

Answers

Answered by PiyushSinghRajput1
1

toString(base) base=16 is used for hex colors, character encodings etc, digits can be 0..9 or A..F . base=2 is mostly for debugging bitwise operations, digits can be 0 or 1 . base=36 is the maximum, digits can be 0..9 or A..Z . The whole latin alphabet is used to represent a number.

Answered by DynamicPlayer
1

Explanation:

⤵️⤵️Your Answer ⤵️⤵️

___________________________

Five Quick Tips to Learn JavaScript Faster

Reading a lot is not enough and not reading at all is bad as well.

Don't be afraid to leave your comfort zone.

When writing an algorithm, plain text may be helpful.

Stop using alerts and embrace console. log.

Get some basic concepts clear.

Yes, since js syntax is a bit familiar with python. If you want to do frontend with js, backend with python then learning both of them is okay. Btw, if you really want js, learn nodejs so that you can do both backend and frontend with it. If you want more backend power, you should learn python first.

Similar questions