It converts to string i have no idea how just require and test it works linting it lints note just calls .toString() on whatever passed in. so like if you have obj = { toString() { return 1 } } and run this function on that you get one