├── .gitignore ├── .travis.yml ├── Makefile ├── README.md ├── github-deploy-key.enc ├── package.json ├── proposal.html └── publi.sh /.gitignore: -------------------------------------------------------------------------------- 1 | index.html 2 | ecmarkup.css 3 | ecmarkup.js 4 | node_modules 5 | github-deploy-key 6 | github-deploy-key.pub 7 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | language: node_js 3 | script: 4 | - make 5 | node_js: 6 | - stable 7 | after_success: 8 | - "./publi.sh" 9 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | index.html: proposal.html node_modules 2 | ecmarkup "$<" "$@" 3 | 4 | node_modules: 5 | npm install 6 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | See [the proposal introduction](https://tc39.github.io/proposal-Symbol-description/) for more info. 2 | -------------------------------------------------------------------------------- /github-deploy-key.enc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tc39/proposal-Symbol-description/c5eb4cee2699dbb41d27476f95653a36d955b1ee/github-deploy-key.enc -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "private": true, 3 | "name": "Symbol-description-proposal", 4 | "version": "0.0.0", 5 | "description": "ECMA-262 proposal to add Symbol.prototype.description", 6 | "main": "index.js", 7 | "scripts": { 8 | "test": "echo \"Error: no test specified\" && exit 1" 9 | }, 10 | "repository": { 11 | "type": "git", 12 | "url": "git+ssh://git@github.com/michaelficarra/Symbol-description-proposal.git" 13 | }, 14 | "keywords": [ 15 | "ECMA-262", 16 | "ECMAScript", 17 | "Symbol", 18 | "description", 19 | "proposal" 20 | ], 21 | "author": "Michael Ficarra", 22 | "license": "UNLICENSED", 23 | "bugs": { 24 | "url": "https://github.com/michaelficarra/Symbol-description-proposal/issues" 25 | }, 26 | "homepage": "https://github.com/michaelficarra/Symbol-description-proposal#readme", 27 | "devDependencies": { 28 | "ecmarkup": "3.11.2" 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /proposal.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |
5 | title: Symbol description accessor 6 | status: proposal 7 | stage: 4 8 | contributors: Michael Ficarra 9 | location: https://github.com/michaelficarra/Symbol-description-proposal 10 |11 | 12 | 13 |
`Symbol.prototype.description` is an accessor property whose set accessor function is *undefined*. Its get accessor function performs the following steps:
27 |