hex - Breaking Hexadecimal Value to multiple lines in CoffeeScript -


how break long hexadecimal value in coffeescript spans multiple lines?

authkey = 0xe6b86ae8bdf696009c90e0e650a92c63d52a4b3232cca36e0ff2f5911e93bd0067df904dc21ba87d29c32bf17dc88da3cc20ba65c6c63f21eaab5bdb29036b83 

to like

authkey = 0xe6b86ae8bdf696009c90e0e650a92c63d52a4b323\           2cca36e0ff2f5911e93bd0067df904dc21ba87d29c3\           2bf17dc88da3cc20ba65c6c63f21eaab5bdb29036b83 

using \ results in unexpected 'number' error, using line break in unexpected 'indent' error

there's no point in doing in coffeescript because numbers stored 64-bit ieee 754 values , have many bits of precision value stored number.

if write

authkey = 0xe6b86ae8bdf696009c90e0e650a92c63d52a4b3232cca36e0ff2f5911e93bd0067df904dc21ba87d29c32bf17dc88da3cc20ba65c6c63f21eaab5bdb29036b83 console.log(authkey) 

then value logged is

1.2083806867379407e+154 

you want store authkey string or byte array, both of trivial write across multiple lines.


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -