D-JSTools
Every day is a good day 😄 😄 😄
What's this ?
Some useful tools for JavaScript.
List of tools available at now:
Tool | Intro |
DLog(content,tag,type) | The logger with time and tag. |
DArrayFilter(array) | Return a new array based on the array entered. |
How to use it ?
for example:
- DLog
;let tag = "Test-----";let content = "hello world";console;
- DArrayFilter
;let testArray = 12321;let newArray = ;console;
Api
The param for tools, see below:
Func | Param | value | Intro |
DLog(content,tag,type) | content | String | the log content. |
---|---|---|---|
tag | String | the log tag. | |
type | log,info,error,warn | the log type,see the value. | |
DArrayFilter(array) | array | Array | The array for filtering. |