freeCodeCamp / COM1000

freeCodeCamp's deprecated challenge editor
19 stars 16 forks source link

Should fix issue with boolean values #51

Closed benmcmahon100 closed 8 years ago

SaintPeter commented 8 years ago

Nope nope NOPE.

Any string which contains the word true or false ANYWHERE gets replaced with true/false.

Tighten up your regex: /^(true|false)$/.

SaintPeter commented 8 years ago

Better :wink: