← Fullstack with Vue.jsQuestion 11 of 62
What’s the difference between new and init?
📘 Explanation
new is responsible for creating and returning the instance and runs before init, which then initializes that already-created object. The other options reverse the order, falsely claim new can't be overridden, or wrongly say the two are interchangeable.
Related questions
← PreviousNo login needed