Skip to content

Javascript Basics


let vs var vs const


spread operator (…)

let arrayCopy = [...array]

code Snippets

Check Enter is pressed or not    onKeyUp($event){
        if($event.keyCode === 13)
        console.log(“Enter is pressed”);
getting value from a input tag on enter event    onKeyUp($event){
Published inUncategorised

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *