Inline ES Modules
Darien Valentine
valentinium at gmail.com
Mon Jun 18 22:10:29 UTC 2018
```
import getPersonType from 'data:text/javascript,\
export default function getPersonType(person) {\
switch (person) {\
case \'Teacher\': return \'A teacher\';\
case \'Director\': return \'A director\';\
}\
}';
```
okay, not a serious suggestion, but it does technically work :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20180618/c5b7c4ae/attachment.html>
More information about the es-discuss
mailing list