Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 675 Bytes

record.makeAllKeysUpperCase.md

File metadata and controls

28 lines (21 loc) · 675 Bytes

Record.makeAllKeysUpperCase

The makeAllKeysUpperCase function is established to change all keys of the array data to upper-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.makeAllKeysUpperCase();
/* the data is changed to the next
[
	{"DATA1":"hello world", "DATA2":123, "DATA3":"..." },
	{"DATA1":"hello human", "DATA2":456, "DATA3":"..." }
]
*/

API

CallingReturning
record .makeAllKeysUpperCase ( )Record