Backbone.JS ID()

The Backbone.JS ID() model is used to identify model entity uniquely.

Syntax:

Model.ID   

Example:

 
  
  
Example  
  
  
  
  
  
  

Output:

Student Id: 100

Explanation: The student id is set as 100.

Please follow and like us:
Content Protection by DMCA.com