It equivalent to
var res = [];
var matches;
where matches
is undefined
More Related Contents:
- Convert JSON to array in Javascript
- I have returned two values but console displaying only one value.. what’s wrong with my code?
- Is it possible to read substring from char to char
- Dynamic page load can’t load Java with page
- Javascript alert and back with php
- How do I replace a character at a particular index in JavaScript?
- Is it not possible to stringify an Error using JSON.stringify?
- Why are Callbacks from Promise `.then` Methods an Anti-Pattern
- JavaScript function aliasing doesn’t seem to work
- JavaScript Promises – reject vs. throw
- variable scope in d3 javascript
- delete a.x vs a.x = undefined
- JSON Stringify changes time of date because of UTC
- Javascript and backslashes replace
- How to manually set REFERER header in Javascript?
- Why can I not use `new` with an arrow function in JavaScript/ES6?
- Is it the last `script` element the currently running script?
- getElementByClass().setAttribute doesn’t work
- How to display a “busy” indicator with jQuery?
- Load a DOM and Execute javascript, server side, with .Net
- Regular expression to validate US phone numbers? [duplicate]
- React hooks useState setValue still rerender one more time when value is equal
- To exceed the ImportXML limit on Google Spreadsheet
- Elegant method to generate array of random dates within two dates
- Styling Vuetify selectors
- How to mock React component methods with jest and enzyme
- How to sum elements at the same index in array of arrays into a single array?
- How to check a file’s existence in phone directory with phonegap
- Angular.js: Is .value() the proper way to set app wide constant and how to retrieve it in a controller
- Can I prevent history.popstate from triggering on initial page-load?