Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialThomas Katalenas
11,033 PointsWhy are cairrage returns?
how come carraige returns are always used? in xml and stuff.?
3 Answers
Steven Parker
231,236 PointsThey aren't. Minified XML or HTML may store even a large document as a single line.
But since this is extremely difficult for a person to deal with, most XML/HTML editors will format a document on separate lines and apply indentation to facilitate comprehension and editing, even if the file itself has neither.
Thomas Katalenas
11,033 PointsECMAScript 6, https://github.com/lukehoban/es6features/blob/master/README.md https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Lexical_grammar#Numeric_literals http://es6-features.org/#BinaryOctalLiteral what is this new octal literal? big O and little o
var n = 0O755; // 493 var m = 0o644; // 420
// Also possible with just a leading zero (see note about decimals above) 0755 0644