summaryrefslogtreecommitdiff
path: root/src/lobject.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/lobject.js')
-rw-r--r--src/lobject.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lobject.js b/src/lobject.js
index 77c63d0..4b83bdb 100644
--- a/src/lobject.js
+++ b/src/lobject.js
@@ -161,11 +161,11 @@ class TValue {
}
svalue() {
- return this.tsvalue();
+ return this.tsvalue().getstr();
}
vslen() {
- return this.tsvalue().length;
+ return this.tsvalue().tsslen();
}
jsstring(from, to) {