JSOM Get ListItem By Id

You can use the following code to retrieve list item by id

CODE