This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react' | |
export default React | |
export class BasicComponent extends React.Component { | |
componentWillUnmount() { | |
this.willUnmount && this.willUnmount() | |
this.__unmount = true | |
} | |
componentDidMount() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
function GeneratePassword(length) { | |
var str1='qwertyuioplkjhgfdsazxcvbnm'; | |
var str2='QWERTYUIOPLKJHGFDSAZXCVBNM'; | |
var str3='1234567890'; | |
var str4='!@#$%^&*.,'; | |
var str = [str1,str2,str3,str4].join('') | |
var res = ''; | |
for (var i=0; i < length; i++) { |
NewerOlder