<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Wed, 17 Jun 2026 09:20:50 +0000</lastBuildDate>
    <item>
      <title>(JavaScript) JavaScript local storage - EvanHahn</title>
      <link>https://snipplr.com/view/63894/javascript-local-storage</link>
      <description>&lt;p&gt;Here's how to use this:&#13;
&#13;
* To access something in the local storage, type `Evan.local('name')`. You may need to use `JSON.parse()` on this result. Returns `null` if nothing's there.&#13;
* To assign something in the local storage, type `Evan.local('name', value)`.&#13;
* To remove something from the local storage, type `Evan.local('name', null)`.&#13;
&#13;
This may not work if private browsing is enabled (eg, on Safari for iOS).&lt;/p&gt;</description>
      <pubDate>Mon, 12 Mar 2012 10:02:38 UTC</pubDate>
      <guid>https://snipplr.com/view/63894/javascript-local-storage</guid>
    </item>
    <item>
      <title>(JavaScript) JavaScript IDify - EvanHahn</title>
      <link>https://snipplr.com/view/63893/javascript-idify</link>
      <description>&lt;p&gt;This prepends a `#` if it's not already there. Useful when doing jQuery selectors.&lt;/p&gt;</description>
      <pubDate>Mon, 12 Mar 2012 10:01:29 UTC</pubDate>
      <guid>https://snipplr.com/view/63893/javascript-idify</guid>
    </item>
    <item>
      <title>(JavaScript) Make an empty object in JavaScript - EvanHahn</title>
      <link>https://snipplr.com/view/63892/make-an-empty-object-in-javascript</link>
      <description>&lt;p&gt;`Object.create(null)` is a more memory-efficient way to make objects, but it's not supported in all versions of JavaScript, so you can do the "old-fashioned" `{}` if that function isn't available.&lt;/p&gt;</description>
      <pubDate>Mon, 12 Mar 2012 09:59:34 UTC</pubDate>
      <guid>https://snipplr.com/view/63892/make-an-empty-object-in-javascript</guid>
    </item>
    <item>
      <title>(JavaScript) Is something undefined in JavaScript? - EvanHahn</title>
      <link>https://snipplr.com/view/63891/is-something-undefined-in-javascript</link>
      <description>&lt;p&gt;Checking for `undefined` in JavaScript is weird (the variable can be redefined), so I made a function to do it. This stuff (and others) is also in my [JSTypes](https://github.com/EvanHahn/JSTypes) type-checking library.&lt;/p&gt;</description>
      <pubDate>Mon, 12 Mar 2012 09:58:07 UTC</pubDate>
      <guid>https://snipplr.com/view/63891/is-something-undefined-in-javascript</guid>
    </item>
  </channel>
</rss>
