The jQuery library is written in JavaScript – which means that there is nothing you can do in jQuery that cannot be done with JavaScript. However, just because you can recreate a jQuery function in JavaScript doesn’t mean it makes sense too.