Skip to content

Commit

Permalink
Fix typo in transform-symbol-member example (#221)
Browse files Browse the repository at this point in the history
Summary:
**Summary**

There was a typo in the example describing the wrong behavior.

**Test plan**

Look at the comment πŸ˜„
Pull Request resolved: #221

Differential Revision: D9360429

Pulled By: rafeca

fbshipit-source-id: 8ed4ec25facc40207dc69e3a0ac0e37f7c36fe0b
  • Loading branch information
LinusU authored and facebook-github-bot committed Aug 16, 2018
1 parent 6189eb3 commit f496be3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
*
* Transformed to:
*
* typeof Symbol.iterator === 'function' ? Symbol.iterator : '@@iterator';
* typeof Symbol === 'function' ? Symbol.iterator : '@@iterator';
*/
module.exports = function symbolMember(babel) {
const t = babel.types;
Expand Down

0 comments on commit f496be3

Please sign in to comment.