`Symbol.search 指定了一个搜索方法，这个方法接受用户输入的正则表达式，返回该正则表达式在字符串中匹配到的下标，这个方法由以下的方法来调用` `String.prototype.search()`。

更多信息请参见 `RegExp.prototype[@@search]()` 和`String.prototype.search()`.

`Symbol.search` 属性的属性特性：
writable | false
enumerable | false
configurable | false

## 规范

Specification | Status | Comment
--- | --- | ---
ECMAScript 2015 (6th Edition, ECMA-262) Symbol.search | Standard | 规范中定义的几个部分
ECMAScript Latest Draft (ECMA-262) Symbol.search | Draft |

## 浏览器兼容性

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
--- | --- | --- | --- | --- | ---
基本支持 | 50 | 49 (49) | 未实现 | 未实现 | 未实现

Feature | Android | Chrome for Android | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile
--- | --- | --- | --- | --- | --- | ---
基本支持 | 未实现 | 未实现 | 49.0 (49) | 未实现 | 未实现 | 未实现

## 参见

- `Symbol.match`
- `Symbol.replace`
- `Symbol.split`
- `RegExp.prototype[@@search]()`