<!DOCTYPE html>
<html lang="en">

<head>
	<meta charset="UTF-8" />
	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0" />
	<title>es6 import test</title>
</head>

<body>
	<script type="module">
		import {
			add
		} from '//unpkg.com/lodash-es@4.17.21/lodash.js'
		console.log(add(1, 4))
		document.body.append(add(1, 4))
	</script>
	<!-- <script src="./index.js"></script> -->

</body>

</html>
Run Pen

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.