how to convert varialbe string into object in js code example Example: js string to object JSON.parse()