-
Notifications
You must be signed in to change notification settings - Fork 0
/
component---src-docs-data-types-overview-mdx-d0ff95190cdfbe55f7ba.js
2 lines (2 loc) · 12.8 KB
/
component---src-docs-data-types-overview-mdx-d0ff95190cdfbe55f7ba.js
1
2
(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{"/M7W":function(e,t,n){},"6MIl":function(e,t,n){},BPHJ:function(e,t,n){"use strict";n.r(t),n.d(t,"IconsManifest",(function(){return a})),n.d(t,"GenIcon",(function(){return m})),n.d(t,"IconBase",(function(){return p})),n.d(t,"DefaultContext",(function(){return r})),n.d(t,"IconContext",(function(){return l}));var a=[{id:"fa",name:"Font Awesome",projectUrl:"https://fontawesome.com/",license:"CC BY 4.0 License",licenseUrl:"https://creativecommons.org/licenses/by/4.0/"},{id:"io",name:"Ionicons 4",projectUrl:"https://ionicons.com/",license:"MIT",licenseUrl:"https://github.com/ionic-team/ionicons/blob/master/LICENSE"},{id:"io5",name:"Ionicons 5",projectUrl:"https://ionicons.com/",license:"MIT",licenseUrl:"https://github.com/ionic-team/ionicons/blob/master/LICENSE"},{id:"md",name:"Material Design icons",projectUrl:"http://google.github.io/material-design-icons/",license:"Apache License Version 2.0",licenseUrl:"https://github.com/google/material-design-icons/blob/master/LICENSE"},{id:"ti",name:"Typicons",projectUrl:"http://s-ings.com/typicons/",license:"CC BY-SA 3.0",licenseUrl:"https://creativecommons.org/licenses/by-sa/3.0/"},{id:"go",name:"Github Octicons icons",projectUrl:"https://octicons.github.com/",license:"MIT",licenseUrl:"https://github.com/primer/octicons/blob/master/LICENSE"},{id:"fi",name:"Feather",projectUrl:"https://feathericons.com/",license:"MIT",licenseUrl:"https://github.com/feathericons/feather/blob/master/LICENSE"},{id:"gi",name:"Game Icons",projectUrl:"https://game-icons.net/",license:"CC BY 3.0",licenseUrl:"https://creativecommons.org/licenses/by/3.0/"},{id:"wi",name:"Weather Icons",projectUrl:"https://erikflowers.github.io/weather-icons/",license:"SIL OFL 1.1",licenseUrl:"http://scripts.sil.org/OFL"},{id:"di",name:"Devicons",projectUrl:"https://vorillaz.github.io/devicons/",license:"MIT",licenseUrl:"https://opensource.org/licenses/MIT"},{id:"ai",name:"Ant Design Icons",projectUrl:"https://github.com/ant-design/ant-design-icons",license:"MIT",licenseUrl:"https://opensource.org/licenses/MIT"},{id:"bs",name:"Bootstrap Icons",projectUrl:"https://github.com/twbs/icons",license:"MIT",licenseUrl:"https://opensource.org/licenses/MIT"},{id:"ri",name:"Remix Icon",projectUrl:"https://github.com/Remix-Design/RemixIcon",license:"Apache License Version 2.0",licenseUrl:"http://www.apache.org/licenses/"},{id:"fc",name:"Flat Color Icons",projectUrl:"https://github.com/icons8/flat-color-icons",license:"MIT",licenseUrl:"https://opensource.org/licenses/MIT"},{id:"gr",name:"Grommet-Icons",projectUrl:"https://github.com/grommet/grommet-icons",license:"Apache License Version 2.0",licenseUrl:"http://www.apache.org/licenses/"},{id:"hi",name:"Heroicons",projectUrl:"https://github.com/refactoringui/heroicons",license:"MIT",licenseUrl:"https://opensource.org/licenses/MIT"},{id:"si",name:"Simple Icons",projectUrl:"https://simpleicons.org/",license:"CC0 1.0 Universal",licenseUrl:"https://creativecommons.org/publicdomain/zero/1.0/"},{id:"im",name:"IcoMoon Free",projectUrl:"https://github.com/Keyamoon/IcoMoon-Free",license:"CC BY 4.0 License"},{id:"bi",name:"BoxIcons",projectUrl:"https://github.com/atisawd/boxicons",license:"CC BY 4.0 License"},{id:"cg",name:"css.gg",projectUrl:"https://github.com/astrit/css.gg",license:"MIT",licenseUrl:"https://opensource.org/licenses/MIT"},{id:"vsc",name:"VS Code Icons",projectUrl:"https://github.com/microsoft/vscode-codicons",license:"CC BY 4.0",licenseUrl:"https://creativecommons.org/licenses/by/4.0/"}],i=n("q1tI"),c=n.n(i),r={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},l=c.a.createContext&&c.a.createContext(r),s=function(){return(s=Object.assign||function(e){for(var t,n=1,a=arguments.length;n<a;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},o=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(a=Object.getOwnPropertySymbols(e);i<a.length;i++)t.indexOf(a[i])<0&&Object.prototype.propertyIsEnumerable.call(e,a[i])&&(n[a[i]]=e[a[i]])}return n};function m(e){return function(t){return c.a.createElement(p,s({attr:s({},e.attr)},t),function e(t){return t&&t.map((function(t,n){return c.a.createElement(t.tag,s({key:n},t.attr),e(t.child))}))}(e.child))}}function p(e){var t=function(t){var n,a=e.attr,i=e.size,r=e.title,l=o(e,["attr","size","title"]),m=i||t.size||"1em";return t.className&&(n=t.className),e.className&&(n=(n?n+" ":"")+e.className),c.a.createElement("svg",s({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,a,l,{className:n,style:s(s({color:e.color||t.color},t.style),e.style),height:m,width:m,xmlns:"http://www.w3.org/2000/svg"}),r&&c.a.createElement("title",null,r),e.children)};return void 0!==l?c.a.createElement(l.Consumer,null,(function(e){return t(e)})):t(r)}},Bl7J:function(e,t,n){"use strict";var a=n("q1tI"),i=n.n(a),c=n("Wbzz"),r=n("dGA7"),l=(n("6MIl"),n("OlKp")),s=n("mZON");function o(){return i.a.createElement("div",{className:"horizontal-navBar"},i.a.createElement(r.a,{bigLogo:!1}),i.a.createElement(c.Link,{to:"/",className:"logo-prefix"},"arcane"))}function m(){return i.a.createElement(i.a.Fragment,null,i.a.createElement(o,null),i.a.createElement("div",{className:"sideBarNav"},b.map((function(e,t){return i.a.createElement(p,{item:e,key:t})}))))}function p(e){var t=e.item,n=Object(a.useState)(!1),c=n[0],r=n[1];return i.a.createElement(i.a.Fragment,null,i.a.createElement("a",{className:"sideBarLabel",onClick:t.subNav&&function(){return r(!c)}},i.a.createElement("div",null,t.icon,i.a.createElement("span",{className:"sideBarLink"},t.title)),t.subNav&&c?t.iconOpen:t.subNav?t.iconClose:null),c&&t.subNav.map((function(e,t){return i.a.createElement(u,{item:e,key:t})})))}function u(e){var t=e.item,n=Object(a.useState)(!1),r=n[0],l=n[1];return i.a.createElement(i.a.Fragment,null,i.a.createElement(c.Link,{className:"sideBarLabelNested",to:t.path,onClick:t.subNav&&function(){return l(!r)}},i.a.createElement("div",null,t.icon,i.a.createElement("span",{className:"sideBarLink"},t.title)),t.subNav&&r?t.iconOpen:t.subNav?t.iconClose:null),r&&t.subNav.map((function(e,t){return i.a.createElement(u,{item:e,key:t})})))}var b=[{title:"Data Types",path:"/",icon:"🥚",iconClose:i.a.createElement(l.RiArrowDownSFill,null),iconOpen:i.a.createElement(s.RiArrowUpSFill,null),subNav:[{title:"Overview",path:"/Data Types Overview",icon:"🥚"},{title:"undefined",path:"/",icon:"🥚"},{title:"Boolean",path:"/",icon:"🥚"},{title:"String",path:"/",icon:"🥚"},{title:"Symbol",path:"/",icon:"🥚"},{title:"Number",path:"/",icon:"🥚"},{title:"BigInt",path:"/",icon:"🥚"},{title:"null",path:"/",icon:"🥚"}]},{title:"Variables & Scoping",path:"/",icon:"🥚",iconClose:i.a.createElement(l.RiArrowDownSFill,null),iconOpen:i.a.createElement(s.RiArrowUpSFill,null),subNav:[{title:"Overview",path:"/",icon:"🥚"},{title:"closure",path:"/",icon:"🥚"},{title:"hoisting",path:"/",icon:"🥚"},{title:"var",path:"/",icon:"🥚"},{title:"let",path:"/",icon:"🥚"},{title:"const",path:"/",icon:"🥚"},{title:"static",path:"/",icon:"🥚"}]},{title:"Functions",path:"/",icon:"🥚",iconClose:i.a.createElement(l.RiArrowDownSFill,null),iconOpen:i.a.createElement(s.RiArrowUpSFill,null),subNav:[{title:"Overview",path:"/",icon:"🥚"},{title:"function declaration",path:"/",icon:"🥚"},{title:"function expression",path:"/",icon:"🥚"},{title:"anonymous function",path:"/",icon:"🥚"},{title:"iffe",path:"/",icon:"🥚"},{title:"factory function",path:"/",icon:"🥚"}]},{title:"Classes",path:"/",icon:"🥚",iconClose:i.a.createElement(l.RiArrowDownSFill,null),iconOpen:i.a.createElement(s.RiArrowUpSFill,null),subNav:[{title:"Overview",path:"/",icon:"🥚"},{title:"Constructor",path:"/",icon:"🥚"},{title:"Super",path:"/",icon:"🥚"},{title:"Extend",path:"/",icon:"🥚"}]}],g=function(){return i.a.createElement(i.a.Fragment,null,i.a.createElement(m,null))};g.defaultProps={siteTitle:""};var h=g,d=(n("u1WH"),function(){return i.a.createElement("footer",null,"TEST")});n("XjQp"),t.a=function(e){var t=e.children;return i.a.createElement(c.StaticQuery,{query:"3649515864",render:function(e){return i.a.createElement("main",null,i.a.createElement(h,null),i.a.createElement("article",{class:"blogPost"},t,i.a.createElement("p",null,"sdsdsdsd",i.a.createElement("a",null,"TEST"),"sdsdsdsd")),i.a.createElement(d,null))}})}},Crju:function(e,t,n){"use strict";n.r(t),n.d(t,"_frontmatter",(function(){return r})),n.d(t,"default",(function(){return o}));var a=n("zLVn"),i=(n("q1tI"),n("7ljp")),c=n("Bl7J"),r={},l={_frontmatter:r},s=c.a;function o(e){var t=e.components,n=Object(a.a)(e,["components"]);return Object(i.b)(s,Object.assign({},l,n,{components:t,mdxType:"MDXLayout"}),Object(i.b)("p",null,"As of the latest ECMAScript specification there are 9 types:\n7 primitive data type and 2 structural types."),Object(i.b)("table",null,Object(i.b)("thead",{parentName:"table"},Object(i.b)("tr",{parentName:"thead"},Object(i.b)("th",Object.assign({parentName:"tr"},{align:null})),Object(i.b)("th",Object.assign({parentName:"tr"},{align:null}),"Primitive Data Type"),Object(i.b)("th",Object.assign({parentName:"tr"},{align:null}),"Structural Type"))),Object(i.b)("tbody",{parentName:"table"},Object(i.b)("tr",{parentName:"tbody"},Object(i.b)("td",Object.assign({parentName:"tr"},{align:null}),"1"),Object(i.b)("td",Object.assign({parentName:"tr"},{align:null}),"undefined"),Object(i.b)("td",Object.assign({parentName:"tr"},{align:null}),"Object")),Object(i.b)("tr",{parentName:"tbody"},Object(i.b)("td",Object.assign({parentName:"tr"},{align:null}),"2"),Object(i.b)("td",Object.assign({parentName:"tr"},{align:null}),"Boolean"),Object(i.b)("td",Object.assign({parentName:"tr"},{align:null}),"Function")),Object(i.b)("tr",{parentName:"tbody"},Object(i.b)("td",Object.assign({parentName:"tr"},{align:null}),"3"),Object(i.b)("td",Object.assign({parentName:"tr"},{align:null}),"Number"),Object(i.b)("td",Object.assign({parentName:"tr"},{align:null}))),Object(i.b)("tr",{parentName:"tbody"},Object(i.b)("td",Object.assign({parentName:"tr"},{align:null}),"4"),Object(i.b)("td",Object.assign({parentName:"tr"},{align:null}),"BigInt"),Object(i.b)("td",Object.assign({parentName:"tr"},{align:null}))),Object(i.b)("tr",{parentName:"tbody"},Object(i.b)("td",Object.assign({parentName:"tr"},{align:null}),"5"),Object(i.b)("td",Object.assign({parentName:"tr"},{align:null}),"String"),Object(i.b)("td",Object.assign({parentName:"tr"},{align:null}))),Object(i.b)("tr",{parentName:"tbody"},Object(i.b)("td",Object.assign({parentName:"tr"},{align:null}),"6"),Object(i.b)("td",Object.assign({parentName:"tr"},{align:null}),"Symbol"),Object(i.b)("td",Object.assign({parentName:"tr"},{align:null}))),Object(i.b)("tr",{parentName:"tbody"},Object(i.b)("td",Object.assign({parentName:"tr"},{align:null}),"7"),Object(i.b)("td",Object.assign({parentName:"tr"},{align:null}),"Null"),Object(i.b)("td",Object.assign({parentName:"tr"},{align:null}))))))}o.isMDXComponent=!0},OlKp:function(e,t,n){var a=n("BPHJ").GenIcon;e.exports.RiArrowDownSFill=function(e){return a({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"g",attr:{},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 16l-6-6h12z"}}]}]})(e)}},XjQp:function(e,t,n){},dGA7:function(e,t,n){"use strict";var a=n("q1tI"),i=n.n(a);n("/M7W");t.a=function(e){var t=e.bigLogo;return i.a.createElement("div",{className:1==t?"centerLogo":"topLeftNav"},i.a.createElement("span",{classNameName:"crystalball"}),i.a.createElement("span",{className:"emoji-hat-border"},i.a.createElement("span",{className:"emoji-hat"},i.a.createElement("span",{className:"emoji-hat-star-1"}),i.a.createElement("span",{className:"emoji-hat-star-2"}),i.a.createElement("span",{className:"emoji-hat-star-3"}),i.a.createElement("span",{className:"emoji-hat-star-4"}),i.a.createElement("span",{className:"emoji-hat-star-5"}))),t?i.a.createElement("span",{className:"emoji-body emoji-face-sus "},i.a.createElement("span",{className:"mouth"})):i.a.createElement("span",{className:"emoji-body emoji-face-anime"},i.a.createElement("span",{className:"emoji-sparklingeyes-upper"}),i.a.createElement("span",{className:"emoji-sparklingeyes-lower"}),i.a.createElement("span",{className:"mouth"})),i.a.createElement("span",{className:"emoji-hands"}),i.a.createElement("span",{className:"crystalball"}))}},mZON:function(e,t,n){var a=n("BPHJ").GenIcon;e.exports.RiArrowUpSFill=function(e){return a({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"g",attr:{},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 8l6 6H6z"}}]}]})(e)}},u1WH:function(e,t,n){},zLVn:function(e,t,n){"use strict";function a(e,t){if(null==e)return{};var n,a,i={},c=Object.keys(e);for(a=0;a<c.length;a++)n=c[a],t.indexOf(n)>=0||(i[n]=e[n]);return i}n.d(t,"a",(function(){return a}))}}]);
//# sourceMappingURL=component---src-docs-data-types-overview-mdx-d0ff95190cdfbe55f7ba.js.map