I'm writing a project, and there is a code that I would like to use, from here: https://developer.mozilla.org/es/docs/Web/JavaScript/Reference/Global_Objects/Set
The code is over CC0 licence, all fine, I would like to keep that licence, but at the same time I would like to change the license for the rest of the file, is there a way to do that? maybe add the first licence, then the code, other licence, and more code?