ternjs / tern

A JavaScript code analyzer for deep, cross-editor language support
https://ternjs.net/
MIT License
4.25k stars 378 forks source link

Update ecmascript.json #1053

Open Sz-J opened 1 year ago

Sz-J commented 1 year ago

Add "valueOf" to Boolean prototype to return the proper type. Boolean's stdProto's valueOf returns a number type, whereas Boolean's valueOf should return a boolean type.