79228714

Date: 2024-11-27 01:36:12
Score: 2
Natty:
Report link

In my case, I met an iOS release (RN0.71.6 JSC) bug that global array foo.push(bar) in a class but still get [] means foo.length is 0 in another class, so I have to use global object instead, ref to https://github.com/flyskywhy/react-native-browser-polyfill/commit/0d574fb

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Li Zheng