+ 1
Can we use both pure JavaScript and jQuery in the same .js document?
If we use both pure JavaScript and jQuery in the same file document it will be considered an error or it's just fine?
2 ответов
+ 4
Yes, you can use both. Calling it 'vanilla' JavaScript in this context is probably better.
+ 3
No, it won't be, but if you use jQuery, it won't be pure javascript