| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
the returned array is not frozen
|
@nodejs/vm |
Sorry, something went wrong.
|
I believe the intent was for the array to be frozen. @nodejs/modules |
Sorry, something went wrong.
|
It seems better for it to be frozen, regardless of the intent or the wording in the docs. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
returned module.dependencySpecifiers array is not frozen. it is Object.isFrozen -> false and indexes are mutable. tested on a SourceTextModule instance.
Maybe freezing was the intention and this is a bug but it might be a misplacement because module.namespace is actually frozen -as expected- but with no such remark.