非标准
该特性是非标准的，请尽量不要在生产环境中使用它！

`toSource()` 方法返回代表该对象源码的字符串。

该方法通常由JavaScript内部调用。

## Syntax

    Symbol.toSource()

    var sym = Symbol()
    sym.toSource()

## Description

`toSource`方法返回以下值：

对于内建`Symbol对象`, `toSource` 返回以下字符串，表明源代码不可见：

    "function Symbol() {
       [native code]
    }"

对于`Symbol实例`, `toSource` 返回代表源码的字符串。

    "Symbol()"

## Specifications

还未成为任何标准的一部分

## Browser compatibility

We're converting our compatibility data into a machine-readable JSON format. This compatibility table still uses the old format, because we haven't yet converted the data it contains. Find out how you can help!

- Desktop
- Mobile

Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari
--- | --- | --- | --- | --- | ---
Basic support | 未实现 | 36.0 (36.0) | 未实现 | 未实现 | 未实现

Feature | Android | Chrome for Android | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile
--- | --- | --- | --- | --- | --- | ---
Basic support | 未实现 | 未实现 | 36.0 (36.0) | 未实现 | 未实现 | 未实现

## See also

- `Object.prototype.toSource()`