Then I made a study. It appears that RN uses different engines for JS-code interpretation in debug and production versions: Chrome JS engine for debugging and JavaScriptCore for work. RN doesn't translate JavaScript into Native-code and interprets in process. The engine works more stable so bugs appear in production. For ex, in this
article shown the data formatting process in different situations. Move back to the error: after the updating React Native version web-engine lost Object.assign() support. But the debugging engine is the same.