ktm
ktm

Reputation: 6085

How different is creating object in jQuery and pure JavaScript?

How different is creating object in jQuery and pure JavaScript? Does jQuery use prototype pattern or constructor pattern to create an object?

Upvotes: 3

Views: 135

Answers (2)

JaredPar
JaredPar

Reputation: 754763

JQuery is simply a javascript framework and not a separate language so there is no difference. When you're writing jQuery you're writing javascript

Upvotes: 2

Steve Wellens
Steve Wellens

Reputation: 20620

jQuery IS pure JavaScript. So there is no difference.

Upvotes: 3

Related Questions