Skip to content

How do you remove a property from a shared object? #51

Answered by jbakse
jbakse asked this question in Q&A
Discussion options

You must be logged in to vote

You can remove a property from a shared object by setting it to undefined or using the delete operator

shared.prop = undefined

or

delete shared.prop

Replies: 1 comment

Comment options

jbakse
Feb 1, 2022
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by jbakse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant