Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add null, true, and false #171

Merged
merged 2 commits into from Nov 28, 2017

Conversation

@annevk
Copy link
Member

commented Nov 23, 2017

Fixes #95.


Preview | Diff

@annevk

This comment has been minimized.

Copy link
Member Author

commented Nov 23, 2017

(I'm not a 100% on the exact wording here, but I hope this will create some discussion. It's been a bit overdue.)

infra.bs Outdated
@@ -275,6 +275,20 @@ be reported and addressed.

<h2 id=primitive-data-types>Primitive data types</h2>

<h3 id=nulls>Nulls</h3>

<p>The value null is identical to the JavaScript <b>null</b> value. [[!ECMA-262]]

This comment has been minimized.

Copy link
@domenic

domenic Nov 28, 2017

Member

I'd rather state what null is about. Maybe something like

The value null is used to indicate "no value"

with an example that uses it more in context, e.g. return X if Y, otherwise return null.

We could state the JS connection as a separate sentence, like we do for Lists, but I think we should define null independently, instead of layering Infra on top of JS like this.

@annevk annevk merged commit 83c18bb into master Nov 28, 2017

2 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details

@annevk annevk deleted the annevk/null-true-false branch Nov 28, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants
You can’t perform that action at this time.