<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>h3poteto</author_name>
  <author_url>https://blog.hatena.ne.jp/h3poteto/</author_url>
  <blog_title>PartyIX</blog_title>
  <blog_url>https://h3poteto.hatenablog.com/</blog_url>
  <categories>
    <anon>JavaScript</anon>
    <anon>技術</anon>
  </categories>
  <description>jqueryとかcoffeeで構造体を使いたいとき普通にプログラム書いていると，そんなに機会は多くないですが，たまに自分で構造体作りたいなぁーって思うことがあります．Cなんかだと普通に使いますよね． struct typedef hoge{ int index; char data;}hogehoge; みたいな使い方で適当によく構造体とか作っていました．べんりー．本題．jsというのはオブジェクト指向なので，構造体とかあるかなぁーと思ったんですけど，明示的にそういうものは用意されていないようなんです．でも，普通にclassとか使うよね？というわけで，構造体的な使い方をしたい場合の書き方． fu…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fh3poteto.hatenablog.com%2Fentry%2F2014%2F04%2F08%2F204945&quot; title=&quot;jsで構造体的なものを使いたいとき - PartyIX&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-04-08 20:49:45</published>
  <title>jsで構造体的なものを使いたいとき</title>
  <type>rich</type>
  <url>https://h3poteto.hatenablog.com/entry/2014/04/08/204945</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
