Returns a new object based on data but with all properties prefixed by prefix.
data
prefix
prefixProperties({ name: `x`, size: 10 }, `test-`);// Yields:// { test-name: `x`, test-size: 10 } Copy
prefixProperties({ name: `x`, size: 10 }, `test-`);// Yields:// { test-name: `x`, test-size: 10 }
Returns a new object based on
databut with all properties prefixed byprefix.