Last active
May 20, 2019 19:27
-
-
Save joshuakfarrar/292e444823da33feb28863b8630fd88b to your computer and use it in GitHub Desktop.
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
i was creating an object and needed to assign to a value an object which processed data and did not define fields upon the child object for data fields which did not meet certain criteria. rather than a mutable solution,
if (x) { object[key] = value; }, i instead opted for this immutable "toy".