1"use strict";(self.webpackChunkpluto=self.webpackChunkpluto||[]).push([[731],{8453:(e,s,l)=>{l.d(s,{R:()=>t,x:()=>c});var n=l(6540);const r={},o=n.createContext(r);function t(e){const s=n.useContext(o);return n.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function c(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:t(e.components),n.createElement(o.Provider,{value:s},e.children)}},9230:(e,s,l)=>{l.r(s),l.d(s,{assets:()=>a,contentTitle:()=>c,default:()=>p,frontMatter:()=>t,metadata:()=>n,toc:()=>i});const n=JSON.parse('{"id":"QoL Improvements/Object Property Shorthand","title":"Object Property Shorthand","description":"This syntax makes it easier to place several variables into a table.","source":"@site/docs/QoL Improvements/Object Property Shorthand.md","sourceDirName":"QoL Improvements","slug":"/QoL Improvements/Object Property Shorthand","permalink":"/docs/QoL Improvements/Object Property Shorthand","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{},"sidebar":"tutorialSidebar","previous":{"title":"Generalized Iteration","permalink":"/docs/QoL Improvements/Generalized Iteration"},"next":{"title":"Optional Parentheses","permalink":"/docs/QoL Improvements/Optional Parentheses"}}');var r=l(4848),o=l(8453);const t={},c=void 0,a={},i=[];function d(e){const s={code:"code",div:"div",p:"p",pre:"pre",span:"span",...(0,o.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.p,{children:"This syntax makes it easier to place several variables into a table."}),"\n",(0,r.jsxs)(s.pre,{className:"shiki monokai with-title",style:{backgroundColor:"#272822",color:"#F8F8F2"},title:"New Code",children:[(0,r.jsx)(s.div,{className:"code-title",children:"New Code"}),(0,r.jsx)(s.div,{className:"language-id",children:"pluto"}),(0,r.jsx)(s.div,{className:"code-container",children:(0,r.jsxs)(s.code,{children:[(0,r.jsxs)(s.div,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"#F92672"},children:"local"}),(0,r.jsx)(s.span,{style:{color:"#F8F8F2"},children:" type "}),(0,r.jsx)(s.span,{style:{color:"#F92672"},children:"="}),(0,r.jsx)(s.span,{style:{color:"#F8F8F2"},children:" "}),(0,r.jsx)(s.span,{style:{color:"#E6DB74"},children:'"greeting"'})]}),(0,r.jsxs)(s.div,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"#F92672"},children:"local"}),(0,r.jsx)(s.span,{style:{color:"#F8F8F2"},children:" target "}),(0,r.jsx)(s.span,{style:{color:"#F92672"},children:"="}),(0,r.jsx)(s.span,{style:{color:"#F8F8F2"},children:" "}),(0,r.jsx)(s.span,{style:{color:"#E6DB74"},children:'"world"'})]}),(0,r.jsxs)(s.div,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"#66D9EF"},children:"print"}),(0,r.jsx)(s.span,{style:{color:"#F8F8F2"},children:"("}),(0,r.jsx)(s.span,{style:{color:"#66D9EF"},children:"dumpvar"}),(0,r.jsx)(s.span,{style:{color:"#F8F8F2"},children:"("}),(0,r.jsx)(s.span,{style:{color:"#F92672"},children:"$"}),(0,r.jsx)(s.span,{style:{color:"#66D9EF"},children:"object"}),(0,r.jsx)(s.span,{style:{color:"#F8F8F2"},children:"(type"}),(0,r.jsx)(s.span,{style:{color:"#9F570F"},children:","}),(0,r.jsx)(s.span,{style:{color:"#F8F8F2"},children:" target)))"})]})]})})]}),"\n",(0,r.jsxs)(s.pre,{className:"shiki monokai with-title",style:{backgroundColor:"#272822",color:"#F8F8F2"},title:"Old Code",children:[(0,r.jsx)(s.div,{className:"code-title",children:"Old Code"}),(0,r.jsx)(s.div,{className:"language-id",children:"pluto"}),(0,r.jsx)(s.div,{className:"code-container",children:(0,r.jsxs)(s.code,{children:[(0,r.jsxs)(s.div,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"#F92672"},children:"local"}),(0,r.jsx)(s.span,{style:{color:"#F8F8F2"},children:" type "}),(0,r.jsx)(s.span,{style:{color:"#F92672"},children:"="}),(0,r.jsx)(s.span,{style:{color:"#F8F8F2"},children:" "}),(0,r.jsx)(s.span,{style:{color:"#E6DB74"},children:'"greeting"'})]}),(0,r.jsxs)(s.div,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"#F92672"},children:"local"}),(0,r.jsx)(s.span,{style:{color:"#F8F8F2"},children:" target "}),(0,r.jsx)(s.span,{style:{color:"#F92672"},children:"="}),(0,r.jsx)(s.span,{style:{color:"#F8F8F2"},children:" "}),(0,r.jsx)(s.span,{style:{color:"#E6DB74"},children:'"world"'})]}),(0,r.jsxs)(s.div,{className:"line",children:[(0,r.jsx)(s.span,{style:{color:"#66D9EF"},children:"print"}),(0,r.jsx)(s.span,{style:{color:"#F8F8F2"},children:"("}),(0,r.jsx)(s.span,{style:{color:"#66D9EF"},children:"dumpvar"}),(0,r.jsx)(s.span,{style:{color:"#F8F8F2"},children:"({ type "}),(0,r.jsx)(s.span,{style:{color:"#F92672"},children:"="}),(0,r.jsx)(s.span,{style:{color:"#F8F8F2"},children:" type"}),(0,r.jsx)(s.span,{style:{color:"#9F570F"},children:","}),(0,r.jsx)(s.span,{style:{color:"#F8F8F2"},children:" target "}),(0,r.jsx)(s.span,{style:{color:"#F92672"},children:"="}),(0,r.jsx)(s.span,{style:{color:"#F8F8F2"},children:" target }))"})]})]})})]})]})}function p(e={}){const{wrapper:s}={...(0,o.R)(),...e.components};return s?(0,r.jsx)(s,{...e,children:(0,r.jsx)(d,{...e})}):d(e)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.