flow parser for flow programming code example
Example: how to check flow and run of code online in javascript
// @flow
function square(n: number): number {
return n * n;
}
square("2"); // Error!
// @flow
function square(n: number): number {
return n * n;
}
square("2"); // Error!