Details
Details
Diff Detail
Diff Detail
- Repository
- R120 Plasma Workspace
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
My approach would have been
var xesamUrl = (metadata["xesam:url"] || "").toString();
but this is fine and more understandable for non-JS developers :)
Comment Actions
It took me years to no longer be a JS developer ;) But never seen this pattern before, think this is more nice, so will go for that :)