JS development, as long as you aren't using webpack or some other nodejs-based toolchain, is awesome on an iPad Pro. Many developer-oriented apps ship with WebDAV servers which can serve JS scripts. And thanks to the iOS 11 Files app, you can even test sites that involve the HTML5 File API.
For example, doing some work on a VBA-related tool on a plane was surprisingly productive: https://pbs.twimg.com/media/Dc9JZBMUwAAg2BY.jpg
More than anything else, I felt more productive on the iPad than on my MBP because the constraints ensured there was no visible chat application or time wasting website screen.
P.S.: the VSCode sidebar never really made sense until I saw it executed in the Kodex app: https://kodex.space/ -- the ability to jump down to a particular place in the file with a single touch is mindblowing and immediately boosted productivity when dealing with huge scripts.