Skip to content

Commit

Permalink
Merge pull request #742 from HarrySarson/develop
Browse files Browse the repository at this point in the history
Changed ',' to ';' in doc's to fix typo
  • Loading branch information
josdejong committed Nov 7, 2016
2 parents e42f5d1 + b6a96fa commit 9a7bf28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/expressions/syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Operator | Name | Syntax | Associativity | Example
`,` | Parameter separator | `x, y` | Left to right | `max(2, 1, 5)` | `5`
`.` | Property accessor | `obj.prop` | Left to right | `obj={a: 12}; obj.a` | `12`
`;` | Statement separator | `x; y` | Left to right | `a=2; b=3; a*b` | `[6]`
`;` | Row separator | `[x, y]` | Left to right | `[1,2;3,4]` | `[[1,2],[3,4]]`
`;` | Row separator | `[x; y]` | Left to right | `[1,2;3,4]` | `[[1,2],[3,4]]`
`\n` | Statement separator | `x \n y` | Left to right | `a=2 \n b=3 \n a*b` | `[2,3,6]`
`+` | Add | `x + y` | Left to right | `4 + 5` | `9`
`+` | Unary plus | `+y` | Right to left | `+4` | `4`
Expand Down

0 comments on commit 9a7bf28

Please sign in to comment.