AngularJS: null
by Adrianus Kleemans
HTML
<body ng-app="TestApp" ng-controller="TestController">
<table border="1">
<tr><td></td><td ng-repeat="a in desc">{{a}}</td></tr>
<tr ng-repeat="a in [0, 1, 2, 3, 4, 5]">
<td>{{desc[a]}}</td>
<td ng-repeat="b in [0, 1, 2, 3, 4, 5]">
{{desc[a]}} == {{desc[b]}}: {{vars[a] == vars[b]}} <br> {{desc[a]}} === {{desc[b]}}: {{vars[a] === vars[b]}}
</td>
</tr>
</table>
</body>
JavaScript
angular.module('TestApp', [])
.controller('TestController', function ($scope, $log) {
$scope.vars = [0, null, undefined, "", {}, []];
$scope.desc = ["0", "null", "undefined", '""', "{}", "[]"];
});