Question: how to use jslink in sharepoint 2013?
Answer: Create a JavaScript override file.
Upload the JavaScript file to the "Master Page Gallery >> Display Templates", Set the content type and properties of the file.
Set the JS Link property of the List view web part to point to the JavaScript file we've uploaded.