Comments (1)
Brainstorm idea: Perhaps these functions should have special error reporting for inputs with cyclic references in debug builds and have undefined in behavior in production builds.
Or should the clone function just go ahead and correctly handle these cases? It could add nontrivial overhead to a tool whose overwhelmingly most common use case will be to copy objects without cyclic references. Perhaps a separate function with that handling could additionally be provided, so regular clone
would disallow cyclic references and cloneCyclic
would handle them?
from higher.
Related Issues (20)
- Prevent cyclic object references from causing isEqual to produce a call stack overflow error HOT 2
- All or most functions currently throwing a NotBoundedError should be able to instead express the requirement in their arguments object HOT 1
- Add new sequence type to support mapIndex function
- Assign unsupported sequence methods to undefined instead of null
- Improve how sequence converters are given priority ordering
- Add arithmetic mean and median functions
- Add chunk sequence implementation optimized for slicing unbounded inputs
- Implement index and slice methods for RoundRobinSequence
- hi.func(sequence) and sequence.func should always have the same behavior
- Remove reset and left methods from all sequences
- Add optimized ngrams sequence for unbounded slicing input sequences
- More complete support for indexNegative, sliceNegative, sliceMixed sequence methods
- Split functions and returned sequence types in test/sequenceTools.js into separate files HOT 3
- Stop causing errors when consuming unbounded sequences
- Investigate optimized implementations for single-length chains
- Add tests for addSequenceConverter
- Rewrite startsWith and endsWith to accept consumers HOT 1
- Add consumer converter for regular expressions
- Add consumers and formalize specification HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from higher.