@@ -30,14 +30,14 @@ which encodes most non-alphanumeric characters.
3030 and then serializing the ` Date ` as above.
3131- Arrays are serialized using
3232 [ ` URLSearchParams.append() ` ] ( https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/append ) :
33- - Array values are serialized as above.
34- - The array ` { foo: [1, 2] } ` serializes to ` foo=1&foo=2 ` .
35- - The single element array ` { foo: [1] } ` serializes to ` foo=1 ` .
36- - The empty array ` { foo: [] } ` serializes to ` foo= ` .
37- - Serialization of the single element array containing the empty string is not supported
38- and will throw an ` UnserializableParamError ` .
39- Otherwise, the serialization of ` { foo: [''] } ` would conflict with ` { foo: [] } ` .
40- This serializer chooses to support the more common and more useful case of an empty array.
33+ - Array values are serialized as above.
34+ - The array ` { foo: [1, 2] } ` serializes to ` foo=1&foo=2 ` .
35+ - The single element array ` { foo: [1] } ` serializes to ` foo=1 ` .
36+ - The empty array ` { foo: [] } ` serializes to ` foo= ` .
37+ - Serialization of the single element array containing the empty string is not supported
38+ and will throw an ` UnserializableParamError ` .
39+ Otherwise, the serialization of ` { foo: [''] } ` would conflict with ` { foo: [] } ` .
40+ This serializer chooses to support the more common and more useful case of an empty array.
4141- Serialization of functions or other objects is not supported
4242 and will throw an ` UnserializableParamError ` .
4343
0 commit comments