怎么用js提取字符串中的某一段字符String.prototype.getQuery = function(name){var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&a2023-03-20JavaScript260