(nativeGetProperty)
| 6 | |
| 7 | function test (binding) { |
| 8 | function testGetProperty (nativeGetProperty) { |
| 9 | const obj = { test: 1 }; |
| 10 | assert.strictEqual(nativeGetProperty(obj, 'test'), 1); |
| 11 | } |
| 12 | |
| 13 | function testShouldReturnUndefinedIfKeyIsNotPresent (nativeGetProperty) { |
| 14 | const obj = { }; |