Timeline for Exotic syntax in Javascript ": ?"
Current License: CC BY-SA 3.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 1, 2017 at 10:46 | vote | accept | Hartesic | ||
| Feb 1, 2017 at 10:38 | history | edited | Andy Gaskell | CC BY-SA 3.0 |
added more examples
|
| Feb 1, 2017 at 10:34 | comment | added | Andy Gaskell | Right, I recommend spending a few minutes with the getting started tutorial: flowtype.org/docs/getting-started.html I'll add another example too. | |
| Feb 1, 2017 at 10:19 | comment | added | Hartesic | So if I understand correctly, it's used to specify the type of the variable, like you would do in C, for example? "int num = 0;" But with a '?' you specify the var can also be 'null'. | |
| Feb 1, 2017 at 10:12 | history | answered | Andy Gaskell | CC BY-SA 3.0 |