缩短node.js中的十六进制字符串

时间:2016-08-23 22:11:24

标签: node.js string hex

我有很长的十六进制字符串$(document).ready(function(){ $('#tableOne tr td:nth-child(3)').each(function(){ var num = $(this).text; num.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g, "$1,") }); }); 。是否有可能缩短它并在node.js中解码回来?

0 个答案:

没有答案