{"action":"created","issue":{"url":"https://api.github.com/repos/iojs/io.js/issues/639","labels_url":"https://api.github.com/repos/iojs/io.js/issues/639/labels{/name}","comments_url":"https://api.github.com/repos/iojs/io.js/issues/639/comments","events_url":"https://api.github.com/repos/iojs/io.js/issues/639/events","html_url":"https://github.com/iojs/io.js/pull/639","id":55785046,"number":639,"title":"assert: introduce `deepStrictEqual`","user":{"login":"vkurchatkin","id":2993861,"avatar_url":"https://avatars.githubusercontent.com/u/2993861?v=3","gravatar_id":"","url":"https://api.github.com/users/vkurchatkin","html_url":"https://github.com/vkurchatkin","followers_url":"https://api.github.com/users/vkurchatkin/followers","following_url":"https://api.github.com/users/vkurchatkin/following{/other_user}","gists_url":"https://api.github.com/users/vkurchatkin/gists{/gist_id}","starred_url":"https://api.github.com/users/vkurchatkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vkurchatkin/subscriptions","organizations_url":"https://api.github.com/users/vkurchatkin/orgs","repos_url":"https://api.github.com/users/vkurchatkin/repos","events_url":"https://api.github.com/users/vkurchatkin/events{/privacy}","received_events_url":"https://api.github.com/users/vkurchatkin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-28T17:09:17Z","updated_at":"2015-01-28T18:05:46Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/iojs/io.js/pulls/639","html_url":"https://github.com/iojs/io.js/pull/639","diff_url":"https://github.com/iojs/io.js/pull/639.diff","patch_url":"https://github.com/iojs/io.js/pull/639.patch"},"body":"`deepStrictEqual` works the same way as `strictEqual`, but uses `===` to compare primitives and requires prototypes of equal objects to be the same object.\r\n\r\nFixes: https://github.com/joyent/node/issues/7161\r\n\r\nR=@iojs/collaborators "},"comment":{"url":"https://api.github.com/repos/iojs/io.js/issues/comments/71883909","html_url":"https://github.com/iojs/io.js/pull/639#issuecomment-71883909","issue_url":"https://api.github.com/repos/iojs/io.js/issues/639","id":71883909,"user":{"login":"mscdex","id":54666,"avatar_url":"https://avatars.githubusercontent.com/u/54666?v=3","gravatar_id":"","url":"https://api.github.com/users/mscdex","html_url":"https://github.com/mscdex","followers_url":"https://api.github.com/users/mscdex/followers","following_url":"https://api.github.com/users/mscdex/following{/other_user}","gists_url":"https://api.github.com/users/mscdex/gists{/gist_id}","starred_url":"https://api.github.com/users/mscdex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mscdex/subscriptions","organizations_url":"https://api.github.com/users/mscdex/orgs","repos_url":"https://api.github.com/users/mscdex/repos","events_url":"https://api.github.com/users/mscdex/events{/privacy}","received_events_url":"https://api.github.com/users/mscdex/received_events","type":"User","site_admin":false},"created_at":"2015-01-28T18:05:46Z","updated_at":"2015-01-28T18:05:46Z","body":"It only doesn't \"make semantic sense\" for objects. But what about primitives? Think about if you're trying to do a `assert.deepEqual()` on two objects, where one object has `foo: 5.2` and the other has `foo: '5.2'`. `assert.deepEqual()` would consider those two values equal, whereas a `assert.deepStrictEqual()` would not."}}