Why does es6 has multiple looping operators for for-loop?
for( var x in y) { .. }
'in' operator is basically useless, as it returns index of array as string
'of' is the operator I want to use, it returns value, but I keep forgetting it exist
Why does es6 has multiple looping operators for for-loop?
for( var x in y) { .. }
'in' operator is basically useless, as it returns index of array as string
'of' is the operator I want to use, it returns value, but I keep forgetting it exist
Jonkman Microblog is a social network, courtesy of SOBAC Microcomputer Services. It runs on GNU social, version 1.2.0-beta5, available under the GNU Affero General Public License.
All Jonkman Microblog content and data are available under the Creative Commons Attribution 3.0 license.