Skip to content

Instantly share code, notes, and snippets.

@shoo7830
Created July 29, 2019 14:03
Show Gist options
  • Select an option

  • Save shoo7830/bb1d7a6fba2020774440f8da7b003c79 to your computer and use it in GitHub Desktop.

Select an option

Save shoo7830/bb1d7a6fba2020774440f8da7b003c79 to your computer and use it in GitHub Desktop.
// source https://jsbin.com
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<script src="https://cdnjs.cloudflare.com/ajax/libs/immutable/3.7.3/immutable.min.js"></script>
<script id="jsbin-javascript">
const { Map, fromJS } = Immutable;
const data = Map({
a: 1,
b: 2,
c: Map({
d: 3,
e: 4,
f: 5
})
});
console.log(data);
</script>
<script id="jsbin-source-javascript" type="text/javascript">const { Map, fromJS } = Immutable;
const data = Map({
a: 1,
b: 2,
c: Map({
d: 3,
e: 4,
f: 5
})
});
console.log(data);</script></body>
</html>
const { Map, fromJS } = Immutable;
const data = Map({
a: 1,
b: 2,
c: Map({
d: 3,
e: 4,
f: 5
})
});
console.log(data);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment