Skip to content

Commit c89b7ce

Browse files
author
Maxime Mangel
authored
Merge pull request #191 from tombohub/patch-1
Update compatibility.md - typo fix
2 parents daa548e + bf37282 commit c89b7ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/javascript/compatibility.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Some F#/.NET types have [counterparts in JS](/../dotnet/compatibility.html). Fab
1212
- **Strings and booleans** behave the same in F# and JS.
1313
- **Chars** are compiled as JS strings of length 1. This is mainly because string indexing in JS gives you another string. But you can use a char as a number with an explicit conversion like `int16 '家'`.
1414
- **Numeric types** compile to JS numbers, except for `long`, `decimal` and `bigint`.
15-
- Sine Fable 4.0.5, `int64`, `uint64` are represented using native JS BigInt
15+
- Since Fable 4.0.5, `int64`, `uint64` are represented using native JS BigInt
1616
- **Arrays** (and `ResizeArray`) compile to JS arrays. _Numeric arrays_ compile to [Typed Arrays](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray) in most situations, though this shouldn't make a difference for most common operations like indexing, iterating or mapping. You can disable this behavior with [the `typedArrays` option](https://www.npmjs.com/package/fable-loader#options).
1717
- Any **IEnumerable** (or `seq`) can be traversed in JS as if it were an [Iterable](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Iterators_and_Generators#Iterables).
1818
- Mutable **dictionaries** (not F# maps) compile to [ES2015 Map](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map).

0 commit comments

Comments
 (0)