Skip to content

Instantly share code, notes, and snippets.

@rkatic
rkatic / isPlainObject.html
Created November 8, 2009 13:27 — forked from jeresig/isObjectLiteral.html
isPlainObject
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8"/>
<title>isPlainObject</title>
<style>
li.PASS { background: #02C500; } li.FAIL { background: red; }
iframe { display: none; }
</style>
</head>
@rkatic
rkatic / isObjectLiteral.html
Created July 30, 2009 10:46 — forked from jeresig/isObjectLiteral.html
isObjectLiteral STRICT
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8"/>
<!-- Online here: http://ejohn.org/files/bugs/isObjectLiteral/ -->
<title>isObjectLiteral</title>
<style>
li { background: green; } li.FAIL { background: red; }
iframe { display: none; }
</style>