refactor fold-const
fold String.fromCharCode()
fix an assertion failed; member may be null because of inheritance