I do know JavaScript, and I do know that document.getElementById ('elem') is not equivalent to $('.elem').
jQuery dates from a time when vanilla JavaScript was hard to use because of browser compatibility. The vanilla JavaScript we have today is much more mature than 10 years ago, when jQuery was a must have.
Being mature is not about having smaller function names to do X.
Sorry for forgot to answer you. Okay, document.getElementById ('elem') is $('#elem'), it's my mistake. So can you give the "more mature" JS examples which is more compact than jQuery?
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I do know JavaScript, and I do know that
document.getElementById ('elem')
is not equivalent to$('.elem')
.jQuery dates from a time when vanilla JavaScript was hard to use because of browser compatibility. The vanilla JavaScript we have today is much more mature than 10 years ago, when jQuery was a must have.
Being mature is not about having smaller function names to do X.
Sorry for forgot to answer you. Okay,
document.getElementById ('elem')
is$('#elem')
, it's my mistake. So can you give the "more mature" JS examples which is more compact than jQuery?