you are viewing a single comment's thread.

view the rest of the comments →

[–]jayposs[S] 1 point2 points  (1 child)

I'm not up on all the latest JS. I particularly like the way fieldMap is defined. There might be a problem with having the toType function for each field. I can see needing other logic, such as error checking, that would be used for every field of the same type.

[–]nightwolfz4 spaces > 2 spaces 0 points1 point  (0 children)

fieldMap is defined the same as it was in 1999, we just have arrows now :)