Skip to content

es6 vs es5 #32

@m4v15

Description

@m4v15

Make sure you are consistent with what javascript you are using.

carinput.oninput= function(){

this is function declaration is es5

arrayres(value).then((response) =>{

and this one, 4 lines later, is es6.

A good rule is to use es5 on the front end and then es6 on the backend but if you want to use es6 everywhere that is probably ok (although front end stuff might break on some browsers).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions