Skip to content

Commit f496be3

Browse files
LinusUfacebook-github-bot
authored andcommitted
Fix typo in transform-symbol-member example (#221)
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
1 parent 6189eb3 commit f496be3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/metro-react-native-babel-preset/src/transforms/transform-symbol-member.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
*
2222
* Transformed to:
2323
*
24-
* typeof Symbol.iterator === 'function' ? Symbol.iterator : '@@iterator';
24+
* typeof Symbol === 'function' ? Symbol.iterator : '@@iterator';
2525
*/
2626
module.exports = function symbolMember(babel) {
2727
const t = babel.types;

0 commit comments

Comments
 (0)