diff options
author | daurnimator <quae@daurnimator.com> | 2017-06-09 13:01:21 +1000 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2017-06-09 13:01:21 +1000 |
commit | 74dd47160960b3f0faa13dd1b61b64af69fde02e (patch) | |
tree | fee2730a670c4526c1c927230765be3dce49fc95 /src/lstrlib.js | |
parent | 9b74a453e4a48f0c2028bc15b2c5bdaee6fcd5c7 (diff) | |
download | fengari-74dd47160960b3f0faa13dd1b61b64af69fde02e.tar.gz fengari-74dd47160960b3f0faa13dd1b61b64af69fde02e.tar.bz2 fengari-74dd47160960b3f0faa13dd1b61b64af69fde02e.zip |
Add is_luastring function instead of using Array.isArray directly
Diffstat (limited to 'src/lstrlib.js')
-rw-r--r-- | src/lstrlib.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lstrlib.js b/src/lstrlib.js index 56817a0..0fb8631 100644 --- a/src/lstrlib.js +++ b/src/lstrlib.js @@ -65,7 +65,6 @@ const str_char = function(L) { }; const writer = function(L, b, size, B) { - assert(Array.isArray(b)); B.push(...b.slice(0, size)); return 0; }; |