-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c5eea9f
commit 4cf0ca9
Showing
6 changed files
with
61 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<H1>Record.makeAllKeysLowerCase</H1> | ||
|
||
The makeAllKeysLowerCase function is established to change all keys of the array data to lower-case. | ||
|
||
<h2>Sample</h2> | ||
|
||
```javascript | ||
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":"..." } | ||
] | ||
*/ | ||
|
||
``` | ||
|
||
<h2>API</h2> | ||
|
||
<table> | ||
<tr><th>Calling</th><th>Returning</th></tr> | ||
<tr><td>record .makeAllKeysLowerCase ( )</td><td>Record</td></tr> | ||
</table> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<H1>Record.makeAllKeysUpperCase</H1> | ||
|
||
The makeAllKeysUpperCase function is established to change all keys of the array data to upper-case. | ||
|
||
<h2>Sample</h2> | ||
|
||
```javascript | ||
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":"..." } | ||
] | ||
*/ | ||
|
||
``` | ||
|
||
<h2>API</h2> | ||
|
||
<table> | ||
<tr><th>Calling</th><th>Returning</th></tr> | ||
<tr><td>record .makeAllKeysUpperCase ( )</td><td>Record</td></tr> | ||
</table> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters