Skip to content

Commit 2dadef9

Browse files
committed
[Type Casting & Coercion] fix typo
1 parent b4cf723 commit 2dadef9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -833,8 +833,8 @@
833833
var totalScore = this.reviewScore + ' total score';
834834
```
835835

836-
- Use parseInt for Numbers and always with a radix for type casting.
837-
- If for whatever reason you are doing some wild and parseInt is your bottleneck and need to use Bitshift for [performance reasons](http://jsperf.com/coercion-vs-casting/3), leave a comment explaining why and what you're doing.
836+
- Use `parseInt` for Numbers and always with a radix for type casting.
837+
- If for whatever reason you are doing something wild and `parseInt` is your bottleneck and need to use Bitshift for [performance reasons](http://jsperf.com/coercion-vs-casting/3), leave a comment explaining why and what you're doing.
838838

839839
```javascript
840840
var inputValue = '4';

0 commit comments

Comments
 (0)