SOURCE

//es6 bable
//https://lebab.io/try-it/*


//http://babeljs.io/repl/#?babili=false&browsers=&build=&builtIns=false&code_lz=AQYw9gdgzgLssEMYFNgF5gG8BQw_4LwDcBLZAdwC5gAzBAGymQBpdD2QSYBPAGRNjUA2gF1W7dgCcw9ZADF6CAObU6jFmwn5ps6gHJYAVwAmyCDD3NgAemvBAG3mAS6MBccoFD4wD_agQADAEHqatwHWQASWNqACYrWwcXDx8_LRB6MnNqAGYABki7J2dAM21AfFdAe694iRowSQBbahx_CQgECuRqktqCIgYSUOAYSUMNVv92-j7qejAQBgBlGHLlZAA6JWQYIJQKgAo9FAQQAAtkSQA5BuQ9AEpxAYkD6Ul9PRb_AF9Lq-AABwQoKHJyrpq3oQhp1qD0-q9AcQGCNgGMJvRprMlotlqtkBs9J9vr9JMZzhDITdyvdHloXqSJJweM1IW0Ol0wf1aVDhk1YeMpjNJHMUSs1psqdwAMJgUz4im1Il3YB6B6Q8kDJ6PJXAXDgaBwTBlSqUTD1RrMd7kYzMQVPJ7oeAwJDIXBAA&debug=false&forceAllTransforms=false&shippedProposals=false&circleciRepo=&evaluate=false&fileSize=false&lineWrap=true&presets=es2015%2Creact%2Cstage-2&prettier=false&targets=&version=6.26.0&envVersion=
*/

 const state = {
            view: false,
            cityList: [],
    
            form: {
                name: {
                    valid: true,
                    value:12
                    error: ''
                },
                password: {
                    valid: true,
                    value:123
                    error: ''
                },
                city: {
                    valid: true,
                    value:'010'
                    error: ''
                },
            }
        }
 
 const {form:{name,pwd,city}} = state
 const {user:user22} = state
 
//  var _state$form = state.form,
//     name = _state$form.name,
//     pwd = _state$form.pwd,
//     city = _state$form.city;
// var user22 = state.user;
console 命令行工具 X clear

                    
>
console