null + anything = null
This commit is contained in:
@@ -808,7 +808,6 @@ if (!locator)
|
||||
stone(globalThis)
|
||||
|
||||
var rads = use_core("math/radians")
|
||||
log.console(rads)
|
||||
|
||||
$_.clock(_ => {
|
||||
// Get capabilities for the main program
|
||||
|
||||
@@ -74,7 +74,7 @@ foreach file: scripts
|
||||
endforeach
|
||||
|
||||
srceng = 'source'
|
||||
includes = [srceng, 'internal', 'debug', 'net', 'archive', 'math']
|
||||
includes = [srceng, 'internal', 'debug', 'net', 'archive']
|
||||
|
||||
foreach file : src
|
||||
full_path = join_paths(srceng, file)
|
||||
|
||||
@@ -14819,6 +14819,8 @@ static JSValue JS_CallInternal_OLD(JSContext *caller_ctx, JSValueConst func_obj,
|
||||
else
|
||||
b = JS_VALUE_GET_FLOAT64(op2);
|
||||
res = __JS_NewFloat64(ctx, a + b);
|
||||
} else if (tag1 == JS_TAG_NULL || tag2 == JS_TAG_NULL) {
|
||||
res = JS_NULL;
|
||||
}
|
||||
/* 5) anything else → throw */
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user