Member Junction
    Preparing search index...
    • Serializes a parameter object into a URL-encoded query string.

      Exported because it is occasionally useful on its own; HttpRequest applies it to Query automatically, so you rarely need to call it directly.

      Rules: null and undefined entries are omitted entirely (rather than becoming the strings "null"/"undefined"), arrays expand to repeated keys, and Date values render as ISO 8601.

      Parameters

      Returns string

      the encoded query string, WITHOUT a leading ?. Empty when nothing survives.

      BuildQueryString({ q: 'a b', tag: ['x', 'y'], skip: null });
      // 'q=a+b&tag=x&tag=y'