jsfunx 1.2.2 → 1.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/jsfunx.cjs +3 -2
- package/jsfunx.mjs +3 -2
- package/package.json +1 -1
package/jsfunx.cjs
CHANGED
|
@@ -1932,10 +1932,11 @@ function useStrict(func, args, optional_or_postArgs = 0, postArgs = false) {
|
|
|
1932
1932
|
if (
|
|
1933
1933
|
typeof optional_or_postArgs === "boolean" ||
|
|
1934
1934
|
optional_or_postArgs instanceof Boolean
|
|
1935
|
-
)
|
|
1935
|
+
) {
|
|
1936
1936
|
strict(func, args, 0, optional_or_postArgs);
|
|
1937
1937
|
|
|
1938
|
-
|
|
1938
|
+
return;
|
|
1939
|
+
}
|
|
1939
1940
|
}
|
|
1940
1941
|
|
|
1941
1942
|
strict(func, args, optional_or_postArgs, postArgs);
|
package/jsfunx.mjs
CHANGED
|
@@ -1941,10 +1941,11 @@ export function useStrict(
|
|
|
1941
1941
|
if (
|
|
1942
1942
|
typeof optional_or_postArgs === "boolean" ||
|
|
1943
1943
|
optional_or_postArgs instanceof Boolean
|
|
1944
|
-
)
|
|
1944
|
+
) {
|
|
1945
1945
|
strict(func, args, 0, optional_or_postArgs);
|
|
1946
1946
|
|
|
1947
|
-
|
|
1947
|
+
return;
|
|
1948
|
+
}
|
|
1948
1949
|
}
|
|
1949
1950
|
|
|
1950
1951
|
strict(func, args, optional_or_postArgs, postArgs);
|