Re: [csswg-drafts] Proposal: Custom CSS Functions & Mixins (#9350)

> Not to defend Crissov's idea, but it sounds like arguments in JS:

Yes, tho note that `arguments` is as deprecated as JS can do (it doesn't exist in strict mode), and the similarish feature, spread arguments, is explicitly for when you're taking a bunch of arguments you're gonna be treating all the same. 

If anyone actually wrote `function foo(...args) { return doSomething(args[0], args[1]); }`, they'd be doing The Wrong Thing, most assuredly.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9350#issuecomment-1939638200 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 12 February 2024 21:43:36 UTC