-
Notifications
You must be signed in to change notification settings - Fork 738
Global side effects that are not cleared yet #7918
Copy link
Copy link
Description
Please double check, depending on the constraints/assumptions we make some might not apply, but in plain JS these are all side effect free:
AggregateError([])
Array()
Array(0)
Array(100)
Array(1, 2, 3)
ArrayBuffer(0)
ArrayBuffer(100)
Int8Array(0)
Int8Array(10)
Uint8Array(10)
Uint8ClampedArray(10)
Int16Array(10)
Uint16Array(10)
Int32Array(10)
Uint32Array(10)
Float32Array(10)
Float64Array(10)
BigInt64Array(10)
BigUint64Array(10)
Map()
Set()
new WeakMap([[{}, 1]])
new WeakSet([{}])
new WeakRef({})
new WeakRef(Symbol("x")) // (symbols allowed)
new Promise(() => {})
new Proxy({}, {})
new FinalizationRegistry(() => {})
Function() // (empty function)Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Fields
Give feedbackPriority
None yet
Start date
None yet
Target date
None yet
Effort
None yet