|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 11 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
367 bytes
|
| Line | |
|---|
| 1 | 'use strict';
|
|---|
| 2 | var isPrototypeOf = require('../../internals/object-is-prototype-of');
|
|---|
| 3 | var method = require('../array/virtual/to-reversed');
|
|---|
| 4 |
|
|---|
| 5 | var ArrayPrototype = Array.prototype;
|
|---|
| 6 |
|
|---|
| 7 | module.exports = function (it) {
|
|---|
| 8 | var own = it.toReversed;
|
|---|
| 9 | return (it === ArrayPrototype || (isPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.toReversed)) ? method : own;
|
|---|
| 10 | };
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.