Skip to content

Commit 6139e88

Browse files
committed
Add arg length check
1 parent 52a559f commit 6139e88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mixins/property-effects.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2226,7 +2226,7 @@ export const PropertyEffects = dedupingMixin(superClass => {
22262226
}
22272227
// When the `legacyUndefined` flag is enabled, pass a no-op value
22282228
// so that the observer, computed property, or compound binding is aborted.
2229-
if (legacyUndefined && value === undefined) {
2229+
if (legacyUndefined && value === undefined && args.length > 1) {
22302230
return NOOP;
22312231
}
22322232
values[i] = value;

0 commit comments

Comments
 (0)