byk / es5 Goto Github PK
View Code? Open in Web Editor NEWA library to introduce EcmaScript 5 features to all browsers
A library to introduce EcmaScript 5 features to all browsers
var res = [1,2].some(function(i, a, v) { return true;});
var res = [1,2].filter(function(i, a, v) { return true; });
throw an exception since an inavlid variable name "fun" is used instead of "callback".
Array.prototype.indexOf and Array.prototype.lastIndexOf tests should also check the behavior when the "fromIndex" parameters is passed.
"The following example uses lastIndexOf to locate values in an array." message is used for every test case in Array.prototype.lastIndexOf tests. This message should be adapted to each test just like the indexOf tests.
All array iteration methods take a "thisObject" as second parameter which is not covered in the tests.
Also all callback functions passed to these methods gets called with more arguments (index and the actual array to be specific.) which are not covered by the tests.
Create documentation via Wiki Pages or GitHub Pages feature. JSDoc Toolkit or the existing wikis from the old Google Code repository at http://code.google.com/p/es5 may be used.
All libraries should have unit tests to ensure a bug-free library set.
@burcu said:
I'm not sure about licensing but V8 has the full functional JS tests under http://code.google.com/p/v8/source/browse#svn/trunk/test/mjsunit, tests related to ES5 features can be extracted from their repo. Licensing should be researched though.
on Google Code project before.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.