Posts by Gabriel Prediger • 21 points
2 posts
-
1
votes1
answer20
viewsQ: How to join two values of an array into one?
For example: If I have an array that stores the hours and another array that will store the minutes const arrayHora = [10] const arrayMinuto = [53] How would you join the two values of the arrays…
-
-1
votes0
answers8
viewsQ: How do I validate Time with Regex in Reactjs?
Basically I want to do a validation using regex... const regexTime = /([01][0-9]|2[0-3]):[0-5][0-9]/ ...to validate a field when some information is entered