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