{
    "componentChunkName": "component---src-templates-note-note-js",
    "path": "/notes/Pure-Functions",
    "result": {"data":{"mdx":{"body":"var _excluded = [\"components\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n/* @jsxRuntime classic */\n/* @jsx mdx */\n\nvar _frontmatter = {\n  \"title\": \"Pure Functions\",\n  \"tldr\": \"A short summary of the article.\",\n  \"index\": true\n};\nvar layoutProps = {\n  _frontmatter: _frontmatter\n};\nvar MDXLayout = \"wrapper\";\nreturn function MDXContent(_ref) {\n  var components = _ref.components,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return mdx(MDXLayout, _extends({}, layoutProps, props, {\n    components: components,\n    mdxType: \"MDXLayout\"\n  }), mdx(\"h1\", null, \"Pure Functions\"), mdx(\"ol\", null, mdx(\"li\", {\n    parentName: \"ol\"\n  }, \"Output is purely dependent on Inputs.\"), mdx(\"li\", {\n    parentName: \"ol\"\n  }, \"No side effects (Doesn't change variables outside the scope of the function)\"), mdx(\"li\", {\n    parentName: \"ol\"\n  }, \"Doesn't use global variables or variables whose scope is not the function itself.\")));\n}\n;\nMDXContent.isMDXComponent = true;","inboundReferences":[{"id":"429e8dff-c4f4-5f67-93e3-62678eb82d08","slug":"stateless-versus-stateful"},{"id":"465afa0c-e17e-555f-a10a-3560ece2b4d8","slug":"parametric-modelling"}]}},"pageContext":{"slug":"Pure-Functions","node":{"childMdx":{"slug":"Pure-Functions"}}}},
    "staticQueryHashes": []}