29 lines
523 B
Plaintext
29 lines
523 B
Plaintext
|
|
{{alias}}( obj )
|
|
Converts the first letter of each object key to lowercase.
|
|
|
|
The function only transforms own properties. Hence, the function does not
|
|
transform inherited properties.
|
|
|
|
The function shallow copies key values.
|
|
|
|
Parameters
|
|
----------
|
|
obj: Object
|
|
Source object.
|
|
|
|
Returns
|
|
-------
|
|
out: Object
|
|
New object.
|
|
|
|
Examples
|
|
--------
|
|
> var obj = { 'AA': 1, 'BB': 2 };
|
|
> var out = {{alias}}( obj )
|
|
{ 'aA': 1, 'bB': 2 }
|
|
|
|
See Also
|
|
--------
|
|
|