I have simple question but it's annoying me ..
who don't know ,js-beautify
is a library to make ugly stinky js files more readable and beauty ,hence the name ;D
when I do $ js-beautify somefile.js
in bash ,every thing is good and the output is clean as expicted ,but when I try to store that output in a variable readable=$(js-beautify somefile.js)
then echo $readable
,nothing changed !! like I didn't use js-beautify
at all !!
what's the problem here ?