diff --git a/components/tabs/demo/slide.md b/components/tabs/demo/slide.md
index 39ed558739edcd8bd08866b9442a6c8319816198..0ee0eeff3f82d4bc9c2fc081538655531e59a21a 100644
--- a/components/tabs/demo/slide.md
+++ b/components/tabs/demo/slide.md
@@ -40,7 +40,7 @@ class SlidingTabsDemo extends React.Component {
Vertical
- {[...Array(30).keys()].map(i => (
+ {[...Array.from({ length: 30 }, (v, i) => i)].map(i => (
Content of tab {i}