Regular Expression to validate the Time Format in Javascript
You want to validate times in various traditional time formats, such as hh:mm and hh:mm:ss in both 12-hour and 24-hour
Read moreYou want to validate times in various traditional time formats, such as hh:mm and hh:mm:ss in both 12-hour and 24-hour
Read moreYou can use Object.keys() and map() to do this. var obj = {“1″:5,”2″:7,”3″:0,”4″:0,”5″:0,”6″:0,”7″:0,”8″:0,”9″:0,”10″:0,”11″:0,”12”:0} var result = Object.keys(obj).map((key) => [Number(key), obj[key]]);
Read moreA Unique Hexatridecimal ID generator. It will always create unique id’s based on the current time, process and machine name.
Read moreAdd event on window in vue.js is similar to adding an event with javascript, don’t need to add extra efforts.
Read more