<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Naotsugu</author_name>
  <author_url>https://blog.hatena.ne.jp/Naotsugu/</author_url>
  <blog_title>A Memorandum</blog_title>
  <blog_url>https://blog1.mammb.com/</blog_url>
  <categories>
    <anon>JavaScript</anon>
  </categories>
  <description>Function.prototype の拡張 Function.prototype に methodメソッドを追加することで prototype オブジェクトにメソッドを追加できる。以下の例では該当するメソッドが存在しなかった場合に指定したメソッドを追加する。 Function.prototype.method = function(name, func) { if(!this.prototype[name]) { this.prototype[name] = func; return this; } } String に trim メソッドを追加。 String.method('trim',…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog1.mammb.com%2Fentry%2F20100810%2F1281448841&quot; title=&quot;関数プロトタイプの拡張 - A Memorandum&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>2010-08-10 23:00:41</published>
  <title>関数プロトタイプの拡張</title>
  <type>rich</type>
  <url>https://blog1.mammb.com/entry/20100810/1281448841</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
