Regular Expression Test
Test for regular expression course work 4
HTML
<input type="text" id="myinput" value="vexillology"/>
<button id="testBtn" onclick=test()>test</button>
<button id="matchBtn" onclick=match()>match</button>
JavaScript
const cart = [
{
product : {
name : "Product name",
price : 1315
},
addOns : []
}
]
console.log(JSON.stringify(cart))