
An object path represents the logical path of a property inside an object (from the root to the node member). This article aims to expose a possibile solution in validating this kind of paths with Javascript. Proposed solutions show how to achieve this result by using a functional and prototypal approach, briefly enlighting the pros and cons.