(obj, key)
| 9 | import formDataToJSON from '../helpers/formDataToJSON.js'; |
| 10 | |
| 11 | const own = (obj, key) => (obj != null && utils.hasOwnProp(obj, key) ? obj[key] : undefined); |
| 12 | |
| 13 | /** |
| 14 | * It takes a string, tries to parse it, and if it fails, it returns the stringified version |