From 74dd47160960b3f0faa13dd1b61b64af69fde02e Mon Sep 17 00:00:00 2001 From: daurnimator Date: Fri, 9 Jun 2017 13:01:21 +1000 Subject: Add is_luastring function instead of using Array.isArray directly --- src/lstrlib.js | 1 - 1 file changed, 1 deletion(-) (limited to 'src/lstrlib.js') 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; }; -- cgit v1.2.3-54-g00ecf