[javascript] What is the difference between substr and substring?