We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d9656c commit 276ce29Copy full SHA for 276ce29
fibjs/include/ClassInfo.h
@@ -233,7 +233,8 @@ class ClassInfo {
233
234
if (!skips || !skips[j])
235
o->SetAccessor(_context, isolate->NewString(m_cd.cps[i].name),
236
- m_cd.cps[i].getter, m_cd.cps[i].setter);
+ m_cd.cps[i].getter, m_cd.cps[i].setter)
237
+ .ToChecked();
238
}
239
240
for (i = 0; i < m_cd.cc; i++) {
fibjs/include/Trigger.h
@@ -143,7 +143,7 @@ class JSTrigger {
143
int32_t len = esa->Length();
144
for (i = index; i < len - 1; i++)
145
esa->Set(i, esa->Get(i + 1));
146
- esa->Delete(esa->CreationContext(), len - 1);
+ esa->Delete(esa->CreationContext(), len - 1).ToChecked();
147
esa->Set(NewString("length"),
148
v8::Integer::New(isolate, len - 1));
149
0 commit comments