Testjavascipt worked even if I regenerated the game.js.
it’s my own project.
It might be the ADVANCED_OPTIMIZATIONS of closure compiler which has Removal of Code You Want to Keep.
I found game.js missed some cocos2dx functions like gl.*, because I didn’t use them in my js code.
using compilationLevel=“simple” has no issues.