Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
JS Bin // source https://jsbin.com/geserag
<script src="https://cdn.jsdelivr.net/lodash/4/lodash.min.js"></script>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">
"use strict";
// const { camelCase, capitalize } = _;
// const status = 'okFewMonths';
// const style1 = camelCase(`status ${status}`);
// const style2 = camelCase(`status${status}`);
// const style3 = `status${capitalize(status)}`;
// console.log(style1);
// console.log(style2);
// console.log(style3);
</script>
<script id="jsbin-source-javascript" type="text/javascript">// const { camelCase, capitalize } = _;
// const status = 'okFewMonths';
// const style1 = camelCase(`status ${status}`);
// const style2 = camelCase(`status${status}`);
// const style3 = `status${capitalize(status)}`;
// console.log(style1);
// console.log(style2);
// console.log(style3);
</script></body>
</html>
"use strict";
// const { camelCase, capitalize } = _;
// const status = 'okFewMonths';
// const style1 = camelCase(`status ${status}`);
// const style2 = camelCase(`status${status}`);
// const style3 = `status${capitalize(status)}`;
// console.log(style1);
// console.log(style2);
// console.log(style3);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment