Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 675 Bytes

record.makeAllKeysLowerCase.md

File metadata and controls

28 lines (21 loc) · 675 Bytes

Record.makeAllKeysLowerCase

The makeAllKeysLowerCase function is established to change all keys of the array data to lower-case.

Sample

var record = new Record([
	{"data1":"hello world", "DATA2":123, "data3":new Date("2016/12/13") },
	{"data1":"hello human", "DATA2":456, "data3":new Date("2016/12/14") }
]);

record.makeAllKeysLowerCase();
/* the data is changed to the next
[
	{"data1":"hello world", "data2":123, "data3":"..." },
	{"data1":"hello human", "data2":456, "data3":"..." }
]
*/

API

CallingReturning
record .makeAllKeysLowerCase ( )Record