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 basic JavaScript types #95

Closed
annevk opened this issue Mar 23, 2017 · 4 comments
Closed

Add basic JavaScript types #95

annevk opened this issue Mar 23, 2017 · 4 comments

Comments

@annevk
Copy link
Member

annevk commented Mar 23, 2017

We should add undefined, null, and boolean (true, false). We haven't made much type-value distinction thus far so I'm not quite sure how to formulate this. Anyone ideas?

@annevk
Copy link
Member Author

annevk commented Mar 23, 2017

Split from #87.

@domenic
Copy link
Member

domenic commented Mar 28, 2017

I don't think we should have undefined in specs unless you are specifically dealing with JavaScript. And I think JavaScript should be a level above Infra.

I might just define the three values for now (inside the variables section?) without worrying about a type system.

@annevk
Copy link
Member Author

annevk commented Mar 28, 2017

It seems like it should be in "primitive data types", but maybe its own section called "primitive values"? Where would we define Number/BigInt?

@domenic
Copy link
Member

domenic commented Mar 28, 2017

Hmm yeah, primitive data types is probably better. Probably no need for a separate section. We'd definitely put number/bigint there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants