Comments (8)
Agreed.
If you can short-circuit my research on this, are there any exceptions (like some methods that are not, or some TypedArray's that don't)?
from es-feature-tests.
The only methods excluded from Array.prototype of those that change the length of the array:
concat, pop, push, shift, splice, unshift
all methods are available on all typed arrays
from es-feature-tests.
Thanks!
from es-feature-tests.
clarification: concat(..)
isn't a mutator, so it's safe, right? Does it get on the TypedArray prototypes?
from es-feature-tests.
right concat isn't a mutator, but it was also excluded because it would be hard to reliably precompute the fixed size of the result typed array object.
Another feature point is the availability of from and of on the typed array constructors.
from es-feature-tests.
How do these look?
18d9d89#diff-d3a5aa62a9c556f382860a6ea31c11f7R59
from es-feature-tests.
Looks good, I might also test for 'sort' just because it is one of the more interesting methods and requires more implementation work than just moving over the Array.prototype method
from es-feature-tests.
thanks!
from es-feature-tests.
Related Issues (20)
- letConst should be false in IE11 & Edge HOT 7
- add more tests to `testify`
- "getOwnPropertySymbols" typoed as "getOwnSymbolNames" HOT 2
- testify: add `--input` CLI flag (and `content` API option)
- reorganize internal data structure so there's a "testify" folder
- testify: add "exclude-test" option
- core: swap order of AMD and CommonJS clauses in UMD
- ES5 Testing HOT 4
- Update Babel Transformers mapping
- Possible bug in parser HOT 2
- Test results persist in localStorage after browser is updated HOT 7
- Module tests don't make sense HOT 4
- ES2016 testing? HOT 1
- Is the site down? HOT 2
- Functionality (implementation details) of each future HOT 7
- More granular test results HOT 3
- Document supported browsers version HOT 1
- parsing: auto-switch to 'module' mode HOT 1
- How convert to babel/traceur options list to defer to browser's features HOT 12
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 es-feature-tests.