Posts by lucasarruda • 135 points
2 posts
- 
		1 votes2 answers736 viewsA: Traverse an array without knowing its indicesActually what you have there is not a array, but rather a object. But it is possible to iterate by its properties using Object.keys(), that converts the object in a array:… 
- 
		2 votes3 answers643 viewsA: How to mount the regular expression belowAnother way to assemble this expression is by using a crease number. Stay that way: [0-9\/-]+ Usually I like to ride using ranges (0-9, A-Z, a-z, …) instead of \d because it gets more explicit. Here… regexanswered lucasarruda 135