Skip to content

Instantly share code, notes, and snippets.

View wlxscn's full-sized avatar
🎯
Focusing

山丘 wlxscn

🎯
Focusing
  • 上海徐汇
View GitHub Profile
@datchley
datchley / app.js
Last active September 20, 2022 01:22
"Getting Functional with Javascript" Blog post source files
/**
* Primary application logic for our Functional Programming blog example
* See related blog series at: http://www.datchley.name/tag/functional-programming/
* Version: 2.0
*/
// A simple, resuable comparison for '>='
function greaterThanOrEqual(a, b) {
return a >= b
}