form-cheatsheet/js/polyfills/EcmaScript/Array.of.js

3 lines
74 B
JavaScript

Array.of = function() {
return Array.prototype.slice.call(arguments);
};