Add int() helper instead of parseInt.

parseInt is a good option for string-int conversion,
but none for float-int conversion because of performance issue.

This is also to make the code clean.
This commit is contained in:
Hyunje Alex Jun
2014-10-13 23:24:20 +01:00
parent 36c988faba
commit 337c0be9e2
2 changed files with 25 additions and 16 deletions
+1 -1
View File
@@ -27,7 +27,7 @@
"asi" : false,
"laxbreak" : false,
"bitwise" : true,
"bitwise" : false,
"boss" : false,
"curly" : true,
"eqeqeq" : true,