Below are the codes being stored inside a file named as item.js.
item.js
$(function() { var products = [{ "pid": "01", &quo