symbol

WebJar for symbol

License

License

GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

symbol
Last Version

Last Version

0.3.1
Release Date

Release Date

Type

Type

jar
Description

Description

symbol
WebJar for symbol
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/seanmonstar/symbol

Download symbol

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/symbol/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>symbol</artifactId>
    <version>0.3.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/symbol/
implementation 'org.webjars.npm:symbol:0.3.1'
// https://jarcasting.com/artifacts/org.webjars.npm/symbol/
implementation ("org.webjars.npm:symbol:0.3.1")
'org.webjars.npm:symbol:jar:0.3.1'
<dependency org="org.webjars.npm" name="symbol" rev="0.3.1">
  <artifact name="symbol" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='symbol', version='0.3.1')
)
libraryDependencies += "org.webjars.npm" % "symbol" % "0.3.1"
[org.webjars.npm/symbol "0.3.1"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

Symbols

NPM version

ES6 Symbols, in your ES5.

If Symbol is already defined, it will be used. Otherwise, this implements as much of the Symbol spec as is possible with plain JavaScript.

Usage

var Symbol = require('symbol');
var key = Symbol();

var obj = {};
obj[key] = 'foo';
console.log(obj[key]); // 'foo'
console.log(Object.keys(obj)); // []

Versions

Version
0.3.1
0.2.3
0.2.1