Comments (3)
The currently expected functionality is to only replace existing values. Though that decision was arbitrary, since the native JavaScript Array don't have a fill method. Per your request, I'll change the default functionality to fill all values with the passed value/function.
from cbuffer.
Excellent, thanks.
-- Romain
Le 7 oct. 2012 à 23:12, Trevor Norris [email protected] a écrit :
The currently expected functionality is to only replace existing values. Though that decision was arbitrary, since the native JavaScript Array don't have a fill method. Per your request, I'll change the default functionality to fill all values with the passed value/function.
—
Reply to this email directly or view it on GitHub.
from cbuffer.
This issue has been fixed by d259c54
Updated to version 0.1.2, and has been uploaded to npm.
from cbuffer.
Related Issues (12)
- rotateLeft/Right
- add median() function HOT 1
- convenience method for length HOT 5
- Nice work, could this be added to cdnjs?
- Missing bower main section HOT 1
- Semantics of length and size switched? HOT 1
- shift may need to unset shifted item in data array HOT 1
- not linking to correct github page HOT 2
- Implement Quicksort HOT 10
- Declare License
- Add method or attribute to check whether buffer is full 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 cbuffer.