Separate platform for Apple App Development in Thunkable X

I’ve heard that JavaScript is also used for creating hybrid apps for both Android and iOS using Cordova. Is JS worth using for creating apps ?
Can you please give me a small information about it ?