urlObject.search


search 属性由网址的整个“查询字符串”部分组成,包括前导 ASCII 问号 (?) 字符。

例如:'?query=string'

不执行查询字符串的解码。

The search property consists of the entire "query string" portion of the URL, including the leading ASCII question mark (?) character.

For example: '?query=string'.

No decoding of the query string is performed.