diff options
Diffstat (limited to 'src/ffi.js')
-rw-r--r-- | src/ffi.js | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -1 +1,11 @@ -export {}; +export function toArray(list) { + return list.toArray(); +} + +export function map(thing, fn) { + return thing.map(fn); +} + +export function length(thing) { + return thing.length; +} |