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.