Message from JavaScript discussions

September 2018

— I tried here but nothing

— 

const regexify = str =>
new RegExp(str
.replace(/\//g, '\\/')
.replace(/\{\w+\}/g, '[^\/]*'));

Object.keys(data)
.map(regexify)
.find(reg => url.match(reg));

— I dont understand this line

— Already gives false

— 😅

— Edited

— Again :P

— Hello! I want to show an alert when value of item changes on jquery

— $("#item1").change(function(){
alert("ALERT!");
});

— I have this, but i want to show the alert when value changes

— Are you joking or..

— Compare current with previous