Skip to content

Instantly share code, notes, and snippets.

@kytiken
Last active October 17, 2016 11:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kytiken/9b404309d3b007b79bd4b77de916a224 to your computer and use it in GitHub Desktop.
Save kytiken/9b404309d3b007b79bd4b77de916a224 to your computer and use it in GitHub Desktop.
javascript 3*0.1=0.30000000000000004
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>math.js sample</title>
<script src="./bundle.js"></script>
</head>
<body>
</body>
</html>
document.write(3*0.1);
{
"name": "sample",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"webpack": "^1.13.2"
}
}
module.exports = {
entry: './index.js',
output: {
path: './',
filename: 'bundle.js',
publicPath: ''
},
module: {
loaders: []
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment