fix(guide): simplify directory structure

This commit is contained in:
Mrugesh Mohapatra
2018-10-16 21:26:13 +05:30
parent f989c28c52
commit da0df12ab7
35752 changed files with 0 additions and 317652 deletions

View File

@ -0,0 +1,15 @@
---
title: Boolean.prototype.toSource
---
## Boolean.prototype.toSource
This is a stub. <a href='https://github.com/freecodecamp/guides/tree/master/src/pages/javascript/standard-objects/boolean/boolean-prototype-tosource/index.md' target='_blank' rel='nofollow'>Help our community expand it</a>.
<a href='https://github.com/freecodecamp/guides/blob/master/README.md' target='_blank' rel='nofollow'>This quick style guide will help ensure your pull request gets accepted</a>.
<!-- The article goes here, in GitHub-flavored Markdown. Feel free to add YouTube videos, images, and CodePen/JSBin embeds -->
#### More Information:
<!-- Please add any articles you think might be helpful to read before writing the article -->

View File

@ -0,0 +1,15 @@
---
title: Boolean.prototype.toString
---
## Boolean.prototype.toString
This is a stub. <a href='https://github.com/freecodecamp/guides/tree/master/src/pages/javascript/standard-objects/boolean/boolean-prototype-tostring/index.md' target='_blank' rel='nofollow'>Help our community expand it</a>.
<a href='https://github.com/freecodecamp/guides/blob/master/README.md' target='_blank' rel='nofollow'>This quick style guide will help ensure your pull request gets accepted</a>.
<!-- The article goes here, in GitHub-flavored Markdown. Feel free to add YouTube videos, images, and CodePen/JSBin embeds -->
#### More Information:
<!-- Please add any articles you think might be helpful to read before writing the article -->

View File

@ -0,0 +1,15 @@
---
title: Boolean.prototype.valueOf
---
## Boolean.prototype.valueOf
This is a stub. <a href='https://github.com/freecodecamp/guides/tree/master/src/pages/javascript/standard-objects/boolean/boolean-prototype-valueof/index.md' target='_blank' rel='nofollow'>Help our community expand it</a>.
<a href='https://github.com/freecodecamp/guides/blob/master/README.md' target='_blank' rel='nofollow'>This quick style guide will help ensure your pull request gets accepted</a>.
<!-- The article goes here, in GitHub-flavored Markdown. Feel free to add YouTube videos, images, and CodePen/JSBin embeds -->
#### More Information:
<!-- Please add any articles you think might be helpful to read before writing the article -->

View File

@ -0,0 +1,17 @@
---
title: Boolean
---
## Boolean
The Boolean object is an object wrapper for a boolean (true or false) value. You can explicitly define a Boolean as `new Boolean([value])`. The optional `value` argument is converted to a boolean value. If value is not specified, `0`, `-0`, `null`, `false`, `NaN`, `undefined`, or the empty string (`""`), the object is set to false. All other values, including any object or the string "false", create an object with a value of true. An interesting exception is when DOM's `document.all` is passed as an argument to the `Boolean` constructor, it is evaluated as `false`<sup>1</sup>.
Boolean primitive value (`true` and `false` ) is not same as `Boolean` object values (`true` and `false`).
#### More Information:
<!-- Please add any articles you think might be helpful to read before writing the article -->
[The Difference Between Boolean Objects and Boolean Primitives in JavaScript -- A Drip of JavaScript](http://adripofjavascript.com/blog/drips/the-difference-between-boolean-objects-and-boolean-primitives-in-javascript.html)
### Sources
1. [You Don't Know JavaScript, Chapter 4](https://github.com/getify/You-Dont-Know-JS/blob/master/types%20&%20grammar/ch4.md), line :364. Accessed on October 31, 2017.