8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
_.isFunction
Proxy
1 parent 01c0950 commit 492caa4Copy full SHA for 492caa4
test/test.js
@@ -63,8 +63,9 @@
63
64
var ArrayBuffer = root.ArrayBuffer,
65
Buffer = root.Buffer,
66
- Promise = root.Promise,
67
Map = root.Map,
+ Promise = root.Promise,
68
+ Proxy = root.Proxy,
69
Set = root.Set,
70
Symbol = root.Symbol,
71
Uint8Array = root.Uint8Array,
@@ -10522,6 +10523,17 @@
10522
10523
assert.strictEqual(_.isFunction(generator), typeof generator == 'function');
10524
});
10525
10526
+ QUnit.test('should return `true` for the `Proxy` constructor', function(assert) {
10527
+ assert.expect(1);
10528
+
10529
+ if (Proxy) {
10530
+ assert.strictEqual(_.isFunction(Proxy), true);
10531
+ }
10532
+ else {
10533
+ skipAssert(assert);
10534
10535
+ });
10536
10537
QUnit.test('should return `true` for array view constructors', function(assert) {
10538
assert.expect(1);
10539
0 commit comments