DenoDDeno
Powered by
WarlockkW
Denoβ€’2y agoβ€’
10 replies
Warlockk

Is this correct for Javascript?

https://github.com/tc39/proposal-change-array-by-copy

This is my opinion about it: This kind of proposal are very harmful for JS/TS.

What will we do? Duplicate every method that could create a new modified Array/Object?

The learning curve got duplicated for mutable methods. Why do we allow this? We need to stop this at its roots now that we have time, before it's too late.

I don't know where could i do propose this, but i have to express myself:

I want to remove those stup*d new methods an create a new one called
.clone()
.clone()
that allows to developers clone the object...
GitHub
GitHub - tc39/proposal-change-array-by-copy: Provides additional me...
Provides additional methods on Array.prototype and TypedArray.prototype to enable changes on the array by returning a new copy of it with the change. - tc39/proposal-change-array-by-copy
GitHub - tc39/proposal-change-array-by-copy: Provides additional me...
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

VSCode JavaScript Debug Terminal
Michael FrancisMMichael Francis / help
2y ago
Updated examples for "Roll your own JavaScript runtime" blog posts?
AmiAAmi / help
3y ago
Deno JavaScript Jupyter notebook issue
AakashAAakash / help
2y ago
Is there a way to use Javascript as easily as Php?
ParallaxPParallax / help
2y ago