It is difficult to predict these things. If you are targeting the web (as you mentioned you are a web developer), I would say it's very hard to bet against JavaScript, for good or bad. However, I think the future for Swift devs is bright as long as they are willing to specialize on Apple's family of devices.