# core-js
[![Sponsors on Open Collective](https://opencollective.com/core-js/sponsors/badge.svg)](#raising-funds) [![Backers on Open Collective](https://opencollective.com/core-js/backers/badge.svg)](#raising-funds) [![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/zloirock/core-js?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![version](https://img.shields.io/npm/v/core-js.svg)](https://www.npmjs.com/package/core-js) [![npm downloads](https://img.shields.io/npm/dm/core-js.svg)](http://npm-stat.com/charts.html?package=core-js&author=&from=2014-11-18) [![Build Status](https://travis-ci.org/zloirock/core-js.svg)](https://travis-ci.org/zloirock/core-js) [![devDependency status](https://david-dm.org/zloirock/core-js/dev-status.svg)](https://david-dm.org/zloirock/core-js?type=dev)
## As advertising: the author is looking for a good job :)
## [core-js@3, babel and a look into the future](https://github.com/zloirock/core-js/tree/master/docs/2019-03-19-core-js-3-babel-and-a-look-into-the-future.md)
## Raising funds
`core-js` isn't backed by a company, so the future of this project depends on you. Become a sponsor or a backer [**on Open Collective**](https://opencollective.com/core-js) or [**on Patreon**](https://www.patreon.com/zloirock) if you are interested in `core-js`.
---
<a href="https://opencollective.com/core-js/sponsor/0/website" target="_blank"><img src="https://opencollective.com/core-js/sponsor/0/avatar.svg"></a><a href="https://opencollective.com/core-js/sponsor/1/website" target="_blank"><img src="https://opencollective.com/core-js/sponsor/1/avatar.svg"></a><a href="https://opencollective.com/core-js/sponsor/2/website" target="_blank"><img src="https://opencollective.com/core-js/sponsor/2/avatar.svg"></a><a href="https://opencollective.com/core-js/sponsor/3/website" target="_blank"><img src="https://opencollective.com/core-js/sponsor/3/avatar.svg"></a><a href="https://opencollective.com/core-js/sponsor/4/website" target="_blank"><img src="https://opencollective.com/core-js/sponsor/4/avatar.svg"></a><a href="https://opencollective.com/core-js/sponsor/5/website" target="_blank"><img src="https://opencollective.com/core-js/sponsor/5/avatar.svg"></a><a href="https://opencollective.com/core-js/sponsor/6/website" target="_blank"><img src="https://opencollective.com/core-js/sponsor/6/avatar.svg"></a><a href="https://opencollective.com/core-js/sponsor/7/website" target="_blank"><img src="https://opencollective.com/core-js/sponsor/7/avatar.svg"></a><a href="https://opencollective.com/core-js/sponsor/8/website" target="_blank"><img src="https://opencollective.com/core-js/sponsor/8/avatar.svg"></a><a href="https://opencollective.com/core-js/sponsor/9/website" target="_blank"><img src="https://opencollective.com/core-js/sponsor/9/avatar.svg"></a>
---
<a href="https://opencollective.com/core-js#backers" target="_blank"><img src="https://opencollective.com/core-js/backers.svg?width=890"></a>
---
**It's documentation for obsolete `core-js@2`. If you looking documentation for actual `core-js` version, please, check [this branch](https://github.com/zloirock/core-js/tree/master).**
Modular standard library for JavaScript. Includes polyfills for [ECMAScript 5](#ecmascript-5), [ECMAScript 6](#ecmascript-6): [promises](#ecmascript-6-promise), [symbols](#ecmascript-6-symbol), [collections](#ecmascript-6-collections), iterators, [typed arrays](#ecmascript-6-typed-arrays), [ECMAScript 7+ proposals](#ecmascript-7-proposals), [setImmediate](#setimmediate), etc. Some additional features such as [dictionaries](#dict) or [extended partial application](#partial-application). You can require only needed features or use it without global namespace pollution.
[*Example*](http://goo.gl/a2xexl):
```js
Array.from(new Set([1, 2, 3, 2, 1])); // => [1, 2, 3]
'*'.repeat(10); // => '**********'
Promise.resolve(32).then(x => console.log(x)); // => 32
setImmediate(x => console.log(x), 42); // => 42
```
[*Without global namespace pollution*](http://goo.gl/paOHb0):
```js
var core = require('core-js/library'); // With a modular system, otherwise use global `core`
core.Array.from(new core.Set([1, 2, 3, 2, 1])); // => [1, 2, 3]
core.String.repeat('*', 10); // => '**********'
core.Promise.resolve(32).then(x => console.log(x)); // => 32
core.setImmediate(x => console.log(x), 42); // => 42
```
### Index
- [Usage](#usage)
- [Basic](#basic)
- [CommonJS](#commonjs)
- [Custom build](#custom-build-from-the-command-line)
- [Supported engines](#supported-engines)
- [Features](#features)
- [ECMAScript 5](#ecmascript-5)
- [ECMAScript 6](#ecmascript-6)
- [ECMAScript 6: Object](#ecmascript-6-object)
- [ECMAScript 6: Function](#ecmascript-6-function)
- [ECMAScript 6: Array](#ecmascript-6-array)
- [ECMAScript 6: String](#ecmascript-6-string)
- [ECMAScript 6: RegExp](#ecmascript-6-regexp)
- [ECMAScript 6: Number](#ecmascript-6-number)
- [ECMAScript 6: Math](#ecmascript-6-math)
- [ECMAScript 6: Date](#ecmascript-6-date)
- [ECMAScript 6: Promise](#ecmascript-6-promise)
- [ECMAScript 6: Symbol](#ecmascript-6-symbol)
- [ECMAScript 6: Collections](#ecmascript-6-collections)
- [ECMAScript 6: Typed Arrays](#ecmascript-6-typed-arrays)
- [ECMAScript 6: Reflect](#ecmascript-6-reflect)
- [ECMAScript 7+ proposals](#ecmascript-7-proposals)
- [stage 4 proposals](#stage-4-proposals)
- [stage 3 proposals](#stage-3-proposals)
- [stage 2 proposals](#stage-2-proposals)
- [stage 1 proposals](#stage-1-proposals)
- [stage 0 proposals](#stage-0-proposals)
- [pre-stage 0 proposals](#pre-stage-0-proposals)
- [Web standards](#web-standards)
- [setTimeout / setInterval](#settimeout--setinterval)
- [setImmediate](#setimmediate)
- [iterable DOM collections](#iterable-dom-collections)
- [Non-standard](#non-standard)
- [Object](#object)
- [Dict](#dict)
- [partial application](#partial-application)
- [Number Iterator](#number-iterator)
- [escaping strings](#escaping-strings)
- [delay](#delay)
- [helpers for iterators](#helpers-for-iterators)
- [Missing polyfills](#missing-polyfills)
- [Changelog](./CHANGELOG.md)
## Usage
### Basic
```
npm i core-js
bower install core.js
```
```js
// Default
require('core-js');
// Without global namespace pollution
var core = require('core-js/library');
// Shim only
require('core-js/shim');
```
If you need complete build for browser, use builds from `core-js/client` path:
* [default](https://raw.githack.com/zloirock/core-js/v2.6.12/client/core.min.js): Includes all features, standard and non-standard.
* [as a library](https://raw.githack.com/zloirock/core-js/v2.6.12/client/library.min.js): Like "default", but does not pollute the global namespace (see [2nd example at the top](#core-js)).
* [shim only](https://raw.githack.com/zloirock/core-js/v2.6.12/client/shim.min.js): Only includes the standard methods.
Warning: if you use `core-js` with the extension of native objects, require all needed `core-js` modules at the beginning of entry point of your application, otherwise, conflicts may occur.
### CommonJS
You can require only needed modules.
```js
require('core-js/fn/set');
require('core-js/fn/array/from');
require('core-js/fn/array/find-index');
Array.from(new Set([1, 2, 3, 2, 1])); // => [1, 2, 3]
[1, 2, NaN, 3, 4].findIndex(isNaN); // => 2
// or, w/o global namespace pollution:
var Set = require('core-js/library/fn/set');
var from = require('core-js/library/fn/array/from');
var findIndex = require('core-js/library/fn/array/find-index');
from(new Set([1, 2, 3, 2, 1])); // => [1, 2, 3]
findIndex([1, 2, NaN, 3, 4], isNaN); // => 2
```
Available entry points for methods / constructors, as above examples, and namespaces: for example, `core-js/es6/array` (`core-js/library/es6/array`) contains all [ES6 `Arra
没有合适的资源?快使用搜索试试~ 我知道了~
vue员工管理系统element实现
共25720个文件
js:15346个
ts:3293个
json:2023个
需积分: 0 0 下载量 158 浏览量
更新于2023-05-21
收藏 41.91MB ZIP 举报
vue员工管理系统element实现
收起资源包目录
vue员工管理系统element实现 (25720个子文件)
he.1 3KB
jsesc.1 3KB
jsesc.1 3KB
cssesc.1 2KB
_editorconfig 160B
_editorconfig 121B
_gitignore 670B
acorn 298B
acorn 298B
acorn 62B
acorn 60B
ansi-html 2KB
ansi-html 334B
openChrome.applescript 2KB
AUTHORS 203B
AUTHORS 152B
.auto-changelog 113B
autoprefixer 554B
autoprefixer 326B
.babelrc 164B
.babelrc 68B
.babelrc 57B
.babelrc 55B
.babelrc 30B
README.md.bak 12KB
benchmark 692B
range.bnf 619B
range.bnf 619B
range.bnf 619B
range.bnf 619B
range.bnf 619B
range.bnf 619B
range.bnf 619B
range.bnf 619B
range.bnf 619B
range.bnf 619B
browserslist 306B
LICENSE.BSD 1KB
LICENSE.BSD 1KB
LICENSE.BSD 1KB
LICENSE.BSD 1KB
LICENSE.BSD 1KB
LICENSE.BSD 1KB
LICENSE.BSD 1KB
ChangeLog 10KB
Changelog 8KB
axios.cjs 112KB
index.cjs 105KB
axios.cjs 81KB
eslint-scope.cjs 68KB
index.cjs 41KB
main.cjs 38KB
espree.cjs 30KB
lexer.cjs 12KB
analyze-scope.cjs 10KB
index.cjs 10KB
index.cjs 7KB
eslint-visitor-keys.cjs 7KB
client.cjs 7KB
index.cjs 7KB
convertTokens.cjs 6KB
index.cjs 5KB
configuration.cjs 4KB
convertAST.cjs 3KB
index.cjs 1KB
parse.cjs 1KB
index.cjs 1KB
ast-info.cjs 1KB
cjs-proxy.cjs 1KB
maybeParse.cjs 1KB
nanoid.cjs 1KB
handle-message.cjs 1KB
index.browser.cjs 1KB
index.cjs 1KB
index.cjs 993B
index.browser.cjs 983B
configuration.cjs 929B
experimental-worker.cjs 839B
index.cjs 820B
index.cjs 575B
index.cjs 499B
babel-core.cjs 497B
convertComments.cjs 384B
exit.cjs 249B
extract-parser-options-plugin.cjs 194B
import.cjs 121B
index.cjs 120B
eslint-version.cjs 116B
index.cjs 111B
file.cjs 0B
file.cjs 0B
file.cjs 0B
file.cjs 0B
LICENSE.closure-compiler 11KB
webpack-dev-server.cmd 349B
webpack-bundle-analyzer.cmd 348B
vue-cli-service.cmd 344B
parser.cmd 338B
ansi-html.cmd 338B
update-browserslist-db.cmd 334B
共 25720 条
- 1
- 2
- 3
- 4
- 5
- 6
- 258
资源推荐
资源预览
资源评论
5星 · 资源好评率100%
118 浏览量
5星 · 资源好评率100%
142 浏览量
144 浏览量
5星 · 资源好评率100%
151 浏览量
5星 · 资源好评率100%
198 浏览量
175 浏览量
184 浏览量
2021-10-13 上传
2022-05-24 上传
126 浏览量
153 浏览量
175 浏览量
5星 · 资源好评率100%
149 浏览量
5星 · 资源好评率100%
123 浏览量
2024-01-11 上传
109 浏览量
141 浏览量
150 浏览量
5星 · 资源好评率100%
123 浏览量
2022-06-28 上传
5星 · 资源好评率100%
158 浏览量
5星 · 资源好评率100%
5星 · 资源好评率100%
2018-09-27 上传
111 浏览量
资源评论
可我不想做饼干
- 粉丝: 871
- 资源: 8
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 基于大数据环境搭建,本项目为大数据基础镜像组件,Hadoop、Spark、Hive、Tez、Hue、Flink、Zookeeper、Kafka、MySQL等,用
- 基于开源的flink,对其实时sql进行扩展;主要实现了流与维表的join,支持原生flink SQL所有的语法详细文档+全部资料.zip
- 基于开源flink,源码阅读注释详细文档+全部资料.zip
- 基于微服务架构的实时计算(Flink)展示平台详细文档+全部资料.zip
- 工具4:股权激励如何实施.xls
- 天津滨海快速交通发展有限公司股权激励机制探讨2.ppt
- 某某交通股份有限公司高层股权激励方案.doc
- 话费管理规定.docx
- 话费补贴申请书.doc
- 交通补贴及移动话费补贴政策.doc
- 话费补贴管理制度.doc
- 电话费补贴管理办法(暂行).doc
- 话费补助管理制度.doc
- 员工话费补贴管理制度.doc
- 手机补贴标准管理办法.doc
- 加班与加班费的控制技巧.ppt
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功